Closed asishallab closed 5 years ago
A corresponding file is ./utils/graphql_schema.js, it is generic so that './schemas/index.html' seems to be an error.
In there is also defined a utility function that permits to find a model field by it's annotation placed within description, like @original-field.
It would be very useful to be able to get the GraphQL schema as a simple object upon a
require
call.See this comment on how to do that.
Please write an
index.js
in the directoryschemas
that automatically exports theschema
after merging as pointed out in the above comment.Expected work time: 1h