Skip to content

Templated routes still include "todos" reference when another resource name is specified #4

@wgd3

Description

@wgd3

When generating a library with routes for an endpoint named teams there are still references the placeholder "todos":

> nx g @nx-fullstack/harbor-master:lib --name util-routing --baseUrl="/api/v1" --directory="shared" -t type:util,scope:shared --resourceName teams 

>  NX  Generating @nx-fullstack/harbor-master:library

CREATE libs/shared/util-routing/project.json
CREATE libs/shared/util-routing/src/index.ts
CREATE libs/shared/util-routing/src/lib/routes.ts
export const todoRoutes: IApiNamespaceEndpoints = {
  baseUrl: '/api/v1',
  path: '/teams',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions