Closed ntucker closed 1 month ago
Latest commit: 7cd6fb1d450b99040a21744b65e3ccd1ca2ae102
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/reactive/data-client/new/default-pk?filename=.changeset/soft-crabs-wait.md&value=---%0A%0A---%0A%0Aenhance%3A%20Entity.pk()%20default%20provided%20that%20uses%20id%0A)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.76%. Comparing base (
3ce0bbf
) to head (b9ad7e9
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Motivation
More terse common case.
Solution
Outcome
id
memberid
will alert user they need to override Entity.pk()Changes
this.id
)id
is not present