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

Validation of AtClientPreference properties when set #1458

Open
Zambrella opened this issue Dec 19, 2024 · 0 comments
Open

Validation of AtClientPreference properties when set #1458

Zambrella opened this issue Dec 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Zambrella
Copy link

Is your feature request related to a problem? Please describe.

When creating an app I forgot to set the namespace property of the AtClientPreference object and I didn't realise this was an issue until trying to subscribe to notifications from the server. I then set it to an invalid namespace (one that had - in it) and again wasn't aware this was a problem until much later in the "flow".

Describe the solution you'd like

When constructing an AtClientPreference object and settings properties it would be helpful if they could be validated when they're set to make sure they're correct. It might be helpful to use a constructor to indicate which fields are required and if any are optional, what their default values are.

Describe alternatives you've considered

No response

Additional context

No response

@Zambrella Zambrella added the enhancement New feature or request label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant