zodios icon indicating copy to clipboard operation
zodios copied to clipboard

getKeyByXXX is not awared of body parameters

Open QzCurious opened this issue 3 years ago • 5 comments

Although only get method is documented, I wish to have getKeyByXXX take other http method into account.

Here a simple proposal make from zodios/react image

Maybe it would be solved by v11 as AxiosRequestConfig and zodios request payload will be combined together.

QzCurious avatar Nov 23 '22 02:11 QzCurious

hello,

There are no keys for mutations. see react-query documentation: https://tanstack.com/query/v4/docs/guides/mutations

If you meant to use body for immutable queries using post, then yes this will be fixed with v11.

ecyrbe avatar Nov 23 '22 21:11 ecyrbe

If you meant to use body for immutable queries using post, then yes this will be fixed with v11.

Oh yes, it is about the immutable query. Iwas stupid at that time.

QzCurious avatar Nov 24 '22 00:11 QzCurious

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 24 '22 01:12 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 16 '23 00:02 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 25 '23 14:03 stale[bot]