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

Commit ca974d5

Browse files
committed
Fix typo enum -> record
1 parent 463c8a0 commit ca974d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/tarantool_graphql.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ gql_type = function(state, avro_schema, collection, collection_name)
405405
avro_schema.name,
406406
fields = fields,
407407
})
408-
return avro_t == 'enum' and types.nonNull(res) or res
408+
return avro_t == 'record' and types.nonNull(res) or res
409409
elseif avro_t == 'enum' then
410410
error('enums not implemented yet') -- XXX
411411
elseif avro_t == 'array' or avro_t == 'array*' then

0 commit comments

Comments
 (0)