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

Changing the maximum number of Entities in a namespace config does not have any effects #22

Closed
MuhammadMustafa-IS opened this issue Jul 1, 2024 · 2 comments

Comments

@MuhammadMustafa-IS
Copy link

Describe the bug
I'm trying to add more than 10 Entities to a namespace and I'm getting this error
2024-07-01 14:45:55 Unhandled exception. FluentAssertions.Execution.AssertionFailedException: Expected value to be less than or equal to 10 because Max EventHubs supported $10, but found 12 (difference of 2).

I noticed there is a Config-schema.json that has a definition for the maximum number of entities, but changing it has no effects, I don't see it referenced anywhere too, is it actually used anywhere?

Desktop:

  • OS: Windows

Emulator Launch Method:

  • Launcher Script
@krishankumar95
Copy link
Contributor

@MuhammadMustafa-IS ; Config-schema.json should not be changed by the user. It contains validation rules for user supplied Config.json.

Using this schema user can validate their Config.json by using any publicly available JSON Schema validators (Example)

Max number of entities that can be created for Emulator is 10 ; refer Emulator Quotas for more info on quotas enforced by the Emulator:

@MuhammadMustafa-IS
Copy link
Author

After looking through the Config-Schema.json, I guessed that it was for user to validate his Config.json, thank you for confirming that.

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

No branches or pull requests

2 participants