v1.0.0-rc.3
Pre-release
Pre-release
Changelog
Breaking Changes
The call syntax for custom queries and mutations changed:
-
$customQuery({ query: 'example' })
->$customQuery({ name: 'example' })
-
customQuery({ query: 'example', id: post.id })
->customQuery({ name: 'example', filter: { id: post.id } })
-
$mutate({ mutation: 'upvotePost' })
->$mutate({ name: 'upvotePost' })
-
mutate({ mutation: 'upvotePost', id: post.id })
->mutate({ name: 'upvotePost', args: { id: post.id } })
Bugfixes
- Fixed the detection of deprecated records after $persist()
- Fixed a promise issue within the code
Features
- Allow to set
multiple
field for custom queries and mutations.
Documentation
- Added
Multiple or single record
section to custom mutations and queries chapter.