forked from panter/ra-data-prisma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: panter#117 handling noncount nouns / no plural forms
Provide a way to override operation names to handle edge cases where the resource name is not the actual operation or the operations were customized ``` useDataProvider({ operationNames: { RESOURCE_NAME: { create: "myCreateOperation", update: "myUpdateOperation", delete: "myDeleteOperation", one: "myOneOperation", many: "myManyOperation" } } }); ```
- Loading branch information
1 parent
b198952
commit b8095fe
Showing
3 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters