Skip to content

apiClassName can not be cutomized when modular is true #501

Open
@geekeren

Description

@geekeren

It seems no option named "apiClassName" for the generateApi function, and I also try to set name to 'CustomizedAPI', and add a hook to alter the api class name,

 hooks: {
    onPrepareConfig: (currentConfiguration) => {
      return {
        ...currentConfiguration,
        config: {
          ...currentConfiguration.config,
          apiClassName: 'CustomizedAPI'
        }
      }
    },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions