-
Notifications
You must be signed in to change notification settings - Fork 214
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
Property 'app' does not match the schema. 'false' should be a 'string'. #1324
Comments
The feature generator from @angular-architects/ddd accepts only strings for --app, which it looks like you provided correctly. However, later in the command, you specify --no-app which is transformed to --app=false and overwrites your earlier specification. I'd recommend not passing it, but I'm not sure if you are able to given the context of NX Console. I'm going to transfer this issue to that repo, so that it may be worked on in that context. |
This works as with the latest versions of |
Hi @MaxKless I do see that when run from command line with -noApp command is working fine, but nx console is still generating the flag as --no-app |
Btw I've just noticed that nx console generates flag as --no-app when angular.json is present in the repo. |
That's a useful piece of info, thanks. Honestly using |
Hi @MaxKless, But as I can see mono-repo works fine without angular.json so I assume it is not needed anymore. Thank you again for looking into this. |
Using nx generate with VSC in version v17.20.0 I got following errors when trying to create a @angular-architects/ddd:feature:
npx nx generate @angular-architects/ddd:feature test --domain=test --directory=libs/anything --entity=test --ngrx --no-app --no-interactive --dry-run
-> Property 'app' does not match the schema. 'false' should be a 'string'.or
npx nx generate @angular-architects/ddd:feature test --domain=test --directory=libs/document --app=online-calculator --entity=test --ngrx --no-app --no-interactive --dry-run
=>
Property 'app' does not match the schema.
{
"type": "string",
"description": "app name"
}
Before last update this worked. Can anyone please tell me what Im doing wrong? Or ist it a bug?
Tanks in advance.
The text was updated successfully, but these errors were encountered: