Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 7ad3218

Browse files
committed
Fix name clash b/w 1:1 connections and collections
Before we could not use the same name for collection and 1:1 connection (or collection and 1:1 multi-head connection variant) because this created two different types with same names in GraphQL schema: Object type for collection and InputObject type for connection. Now we can use the same names, since we add 'result_' to the name of GraphQL collection Object type. Close #191, close #104
1 parent 040b92b commit 7ad3218

File tree

5 files changed

+1335
-987
lines changed

5 files changed

+1335
-987
lines changed

graphql/convert_schema/types.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ function types.convert(state, avro_schema, opts)
373373
if context == nil then
374374
context = {
375375
field_name = nil,
376-
path = {},
376+
path = {'results'},
377377
}
378378
end
379379

0 commit comments

Comments
 (0)