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

Schematics do not consider "flat": false #556

Open
fynnfeldpausch opened this issue Jun 15, 2022 · 0 comments
Open

Schematics do not consider "flat": false #556

fynnfeldpausch opened this issue Jun 15, 2022 · 0 comments

Comments

@fynnfeldpausch
Copy link

fynnfeldpausch commented Jun 15, 2022

Is this a regression?

No

Description

Steps to reproduce:

  1. Setup schematics according to https://github.com/ngneat/spectator#default-schematics-collection
  2. Specify "flat" option for a schematic
    "schematics": {
      "@ngneat/spectator:spectator-component": {
        "flat": false
      }
    }
    
  3. Create a new service via ng g ss dashrized-name --isDataService=true

Expected result:
Both files are located under folder /dashrized-name.

Actual result:
Service is located under folder /dashrized-name. Test file is located in the parent folder (flat).

Please provide the environment you discovered this bug in

v10.0.1

Do you want to create a pull request?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants