| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…app() Added an optional app_store_id argument to create_ios_app() that is validated as a string and sent as appStoreId in the create request body. Added unit tests for valid and invalid values.
There was a problem hiding this comment.
This pull request adds support for an optional app_store_id parameter when creating iOS apps, updating both the API implementation and adding corresponding unit tests. The feedback suggests using _check_is_nonempty_string_or_none instead of _check_is_string_or_none to prevent empty strings from passing validation and being silently ignored.
Sorry, something went wrong.
Used _check_is_nonempty_string_or_none so an empty app_store_id raises ValueError instead of being silently dropped from the request.
| Back | FazBrowse Home | New Git URL |
Fixes #619
Problem
The Project Management REST API accepts an appStoreId when creating an iOS app, but create_ios_app() only exposed bundle_id and display_name.
Change
Testing
API change
This adds an optional parameter to a public function. As noted by @lahirumaramba in #619, public API changes need internal approval. Happy to adjust naming or approach based on that review.