For my GraphQL app I'd like to save logs of certain resolved fields.
(对于我的GraphQL应用程序,我想保存某些已解析字段的日志。)
Because the users can view these logs themselves, should that be considered apart of a mutation instead of a query? (由于用户可以自己查看这些日志,因此应该将其视为突变而不是查询的一部分吗?)
Since it's not the application's focus I'd assume that using a mutation is overkill, but I'm not sure if there's some sort of side effects I'm going to run into by modeling it in such a way.
(由于不是应用程序的重点,因此我认为使用突变是过大的,但是我不确定通过这种方式进行建模是否会产生某种副作用。)
The other questions I've read didn't really answer this question, so sorry if this seems like a duplicate.
(我读过的其他问题并没有真正回答这个问题,如果这看起来像是重复的,那么抱歉。)
ask by Shawn LaFrance translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…