Christoffer Andersson
Christoffer Andersson
Currently both `new Snapshot(record)` and `record._createSnapshot()` are marked as private since you're not really supposed to use snapshots outside of serializers yet. What's your use case for having to create...
@bmac Yeah, initially there was `record.snapshot()` as a public API in the PR but this got removed before merge. I'm not too sure on why though. I think it makes...
@jcbvm `buildURL` already receives a snapshot/array of snapshots. http://emberjs.com/api/data/classes/DS.BuildURLMixin.html#method_buildURL
The long-term solution here is to create better tools for unit testing adapters and serializers but in the meantime I think a `snapshot()` test helper could work.
I would say that the `EmbeddedRecordsMixin` does not support `JSONAPISerializer` right now as the JSON API spec itself doesn't mention anything about embedding resources (are they relationships? keep them as...
To add types you just create them in your schema, like so: ```graphql type Query { things: [Thing!]! } type Thing { name: String! } ``` Then define a resolver...
Ah, sorry, I misunderstood. Dynamically extending the schema using PHP is not a use-case I'm familiar with using butler-graphql but since we do use https://github.com/webonyx/graphql-php as the underlying engine I...
Very interesting... :) It should be possible to override the `decorateTypeConfig` defined in `HandlesGraphqlRequests` already, but the "append stuff to a Schema instance" hook (that you mention in https://github.com/glesys/butler-graphql/pull/33#issuecomment-727050189) is...