@fraym/projections 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cmd/projections.js +2 -2
- package/package.json +1 -1
package/dist/cmd/projections.js
CHANGED
|
@@ -191,6 +191,8 @@ const getValueString = (v) => {
|
|
|
191
191
|
return `${v.value}`;
|
|
192
192
|
case graphql_1.Kind.NULL:
|
|
193
193
|
return `null`;
|
|
194
|
+
case graphql_1.Kind.ENUM:
|
|
195
|
+
return `${v.value}`;
|
|
194
196
|
case graphql_1.Kind.OBJECT:
|
|
195
197
|
let objectString = "";
|
|
196
198
|
v.fields.forEach(f => {
|
|
@@ -200,8 +202,6 @@ const getValueString = (v) => {
|
|
|
200
202
|
objectString += `${f.name.value}: ${getValueString(f.value)}`;
|
|
201
203
|
});
|
|
202
204
|
return `{${objectString}}`;
|
|
203
|
-
default:
|
|
204
|
-
throw new Error(`values of kind ${v.kind} are currently not supported`);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
const migrateSchemas = async (definitions, serverAddress, namespace) => {
|