data-prism
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -23,3 +23,3 @@ import { mapValues } from "lodash-es"; | ||
const relationships = mapValues(resSchema.relationships, (relSchema, rel) => { | ||
const relMapper = graphMappers[rel]; | ||
const relMapper = graphMappers[relSchema.type]; | ||
const relResSchema = schema.resources[relSchema.type]; | ||
@@ -26,0 +26,0 @@ const mapper = resourceMappers[rel]; |
{ | ||
"name": "data-prism", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -42,3 +42,3 @@ import { mapValues } from "lodash-es"; | ||
const relationships = mapValues(resSchema.relationships, (relSchema, rel) => { | ||
const relMapper = graphMappers[rel]; | ||
const relMapper = graphMappers[relSchema.type]; | ||
const relResSchema = schema.resources[relSchema.type]; | ||
@@ -45,0 +45,0 @@ const mapper = resourceMappers[rel]; |
Sorry, the diff of this file is not supported yet
241174