Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ReferenceInput throws an error when referencing the same resource as Edit and the reference is undefined #8719

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

slax57
Copy link
Contributor

@slax57 slax57 commented Mar 9, 2023

Fixes #8684 and supersedes #8717

mutationMode="pessimistic"
mutationOptions={{
onSuccess: data => {
console.log(data);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only the redirect is required, so I can remove the console.log if it bothers you (was copy pasted from another story)

@djhi djhi merged commit 6cf793f into master Mar 9, 2023
@djhi djhi deleted the Fix-useGetManyAggregate-onSuccess branch March 9, 2023 15:08
@djhi djhi added this to the 4.8.3 milestone Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in useGetManyAggregate
2 participants