~netlandish/links#75: 
Get rid of NullInt and NullString types in graphql schema

I feel like these types are a bit lazy and while there is some value in knowing whether the value is set or not there is probably a more user friendly way to do this.

I believe it will require custom marshal functions for GraphQL engine. It's a bit more complicated than a quick glance makes it appear to be.

Status
REPORTED
Submitter
~petersanchez
Assigned to
No-one
Submitted
6 months ago
Updated
21 days ago
Labels
backlog graphql

~petersanchez 21 days ago

Can probably replace sql.Null* fields with pointer fields in the model struct's so it properly maps to/from db and also json

Register here or Log in to comment, or comment via email.