You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to propose a optional, but recommended field type which helps with semantics, especially on bigger projects
Before:
constblogType=g.type("Blog",{title: g.string().optional().list().args({test: g.string(),}).description("The title of the blog"),}).description("The blog of the user");
After:
constnewBlogType=g.type("Blog",{title: g.field(g.string().optional().list()).args({test: g.string(),}).description("The title of the blog"),}).description("The blog of the user");
Notice the change in LoC
The text was updated successfully, but these errors were encountered:
We want to propose a optional, but recommended
field
type which helps with semantics, especially on bigger projectsBefore:
After:
Notice the change in LoC
The text was updated successfully, but these errors were encountered: