@fraym/crud 0.13.1 → 0.14.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.
Files changed (2) hide show
  1. package/dist/cmd/crud.js +2 -2
  2. package/package.json +1 -1
package/dist/cmd/crud.js CHANGED
@@ -188,6 +188,8 @@ const getValueString = (v) => {
188
188
  return `${v.value}`;
189
189
  case graphql_1.Kind.NULL:
190
190
  return `null`;
191
+ case graphql_1.Kind.ENUM:
192
+ return `${v.value}`;
191
193
  case graphql_1.Kind.OBJECT:
192
194
  let objectString = "";
193
195
  v.fields.forEach(f => {
@@ -197,8 +199,6 @@ const getValueString = (v) => {
197
199
  objectString += `${f.name.value}: ${getValueString(f.value)}`;
198
200
  });
199
201
  return `{${objectString}}`;
200
- default:
201
- throw new Error(`values of kind ${v.kind} are currently not supported`);
202
202
  }
203
203
  };
204
204
  const migrateSchemas = async (definitions, serverAddress, namespace) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fraym/crud",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "license": "UNLICENSED",
5
5
  "homepage": "https://github.com/fraym/crud-nodejs",
6
6
  "repository": {