graphql-crystal / graphql

GraphQL server library for Crystal
https://graphql-crystal.github.io/graphql/index.html
MIT License
134 stars 13 forks source link

GraphQL::BaseObject as module #43

Closed notramo closed 1 year ago

notramo commented 1 year ago

Is it possible to make GraphQL::BaseObject a module? That way, the classes could inherit from a different parent class, e.g. it could be imported into one that inherits from Avram::Model.

jgillich commented 1 year ago

Yes, it already is a module:

include GraphQL::ObjectType