Timo
11/26/2020, 1:33 PMdeclarativeWrappingPlugin
warnings is quite a lot. Now, I could simply use the plugin, but what if that code gets deprecated in the near future?
Again, really appreciate the work you're doing! I'm simply missing a bit more communication on what we can expect from changes related to schema, because I'm not really too keen on rewriting my code over and over again.weakky
11/26/2020, 1:55 PM@nexus/schema
since it was released. Since we’re planning to release @nexus/schema@1.0.0
very soon, we had to make these breaking changes now or never, precisely because we want to avoid making breaking changes as soon as we make @nexus/schema
officially stable.
We apologize for the inconveniences.Timo
11/27/2020, 11:26 AMexport const test = inputObjectType({
name: 'Test',
definition: (t) => {
t.string('test', {required: true})
},
})
Argument of type '{ required: boolean; }' is not assignable to parameter of type 'ScalarInputFieldConfig<string>'.
Object literal may only specify known properties, and 'required' does not exist in type 'ScalarInputFieldConfig<string>'.ts(2345)
tgriesser
11/27/2020, 4:00 PMtgriesser
11/27/2020, 5:59 PMTimo
11/28/2020, 6:42 AM