You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,3 +113,11 @@ specify custom namespace for edge generation with "namespace" key in extra args,
113
113
```
114
114
jsonschemagraph gen-dir ../iceberg/schemas/graph DATA OUT --extraArgs '{"auth_resource_path": "/programs/ohsu/projects/test", "namespace": "CALIPERIDP.org"}'
115
115
```
116
+
117
+
### Example commands for generating graphql schema from jsonschema
classes[i] =LowerFirstLetter(classes[i]) +"(offset: Int first: Int filter: JSON sort: JSON accessibility: Accessibility = all format: Format = json): ["+v+"Type]"
59
+
classes[i] =LowerFirstLetter(classes[i]) +"(offset: Int first: Int filter: JSON sort: [SortInput] accessibility: Accessibility = all): ["+v+"Type!]!"
schemaBuilder.WriteString(fmt.Sprintf(" %s(offset: Int first: Int filter: JSON sort: JSON accessibility: Accessibility = all format: Format = json): [%s]\n", field, strFieldType))
56
+
schemaBuilder.WriteString(fmt.Sprintf(" %s(offset: Int first: Int): %s!\n", field, strFieldType))
0 commit comments