lighthouse php use eloquent model accessors and mutators

前端 未结 0 1390
日久生厌
日久生厌 2021-01-02 01:27

I\'m using lighthouse for graphql on top of my laravel application. I know how to define types. But how can I use the model accessor in the type definition of schema? For ex

相关标签:
回答
  • 消灭零回复
提交回复
热议问题