Closed farwydi closed 1 year ago
Sorry for the delay. I have a concern about adding every possible marshaling function to this package. While the code is not great in size, there are a number of other marshaling interface types as well. There have been other marshalers also requested. I am concerned about opening the flood gates and having a large number of these get added. It seems like the better idea would be for the gqlgen package to be able to use the MarshalText interface for types that do not directly implement MarshalGQL. This is how JSON marshals uuids without requiring the JSON specific methods.
For easy integration with https://github.com/99designs/gqlgen