tsingsun/yii2-graphql

ActiveRecord to Type

Closed this issue · 1 comments

As ActiveRecordType was deleted, what is the prefered way to easily convert ActiveRecord to Type?

P.S. Your project looks promising and English documentation will be good addition.

i think ActiveRecordType is not a good way to implements like Yii RestfulController,in graphql query and mutation class separate, and if in ActiveRecord add too many code for grahpql need that will be little ugly.
I consider providing a code tool later.
thanks for your advice,i am not good at English.but i will try my best.