Skip to content

fix: narrow NamedMutationMethods to just fn signature#305

Open
michael-small wants to merge 5 commits into
mainfrom
remove-mutation-member-access
Open

fix: narrow NamedMutationMethods to just fn signature#305
michael-small wants to merge 5 commits into
mainfrom
remove-mutation-member-access

Conversation

@michael-small
Copy link
Copy Markdown
Collaborator

@michael-small michael-small commented May 25, 2026

Closes #286

@michael-small michael-small self-assigned this May 25, 2026
@michael-small michael-small added bug Something isn't working documentation Improvements or additions to documentation labels May 25, 2026
infer R
>
? Mutation<P, R>
? (params: P) => Promise<MutationResult<R>>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do we have a test for that?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I made does not expose mutation properties directly, only the method for this, should it be more specific?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I added a more explicit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

withMutation Typing

2 participants