0.2.0
Added
- Going forward we will start tracking change logs 🎉
Changes
Previously
type User {
id Int!
notes [Notes!]!
}
would generate only generate the ID, not the notes:
type User struct {
id int
}
It now will generate exactly what is in the schema:
type User {
id int
notes []Notes
}
This feature was generating a lot of confusion with some expecting the notes field to be present. If you were relying on this behavior you should copy the old model out of the generated code and add it to your types.json.
A future release will add better support for explicitly configuring this behaviour. Proposed syntax is:
type User {
id Int!
notes [Notes!]! @resolver
}