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: #117 handling noncount nouns / no plural forms by configuring operation names #118

Closed

Commits on Sep 15, 2022

  1. 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"
        }
      }
    });
    ```
    mwillbanks committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    b8095fe View commit details
    Browse the repository at this point in the history