作者: | 来源:互联网 | 2023-08-24 16:22
Resolves the problem cited in #210
Per https://graphql.org/graphql-js/mutations-and-input-types: "Input types can't have fields that are other objects, only basic scalar types, list types, and other input types".
In
, identify custom types referenced by the model. Load model definitions for those types. Pass definitions to the
function. Identify the scalar data type used as the `` field in the referenced type and use that as the field type for the Input.
This changes the SDL for ___Input types only. No change to base type, query or mutations.
该提问来源于开源项目:redwoodjs/redwood
Great! Can you shoot me your email address? rob.com