TECH: Non-Nullable UI Support, Re-Initialization Improvements, Valida… #52
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…te URL Params
Features
Param
has adescription
, it will render an info question mark to help provide more information to the end-user.nullable: true
for the OpenAPI spec when downloading JSON. Now the badmagic UI respects that and won't show theNull
button if a field can't be nullableURL Params
all have values usingYup
. If they don't the request fails with validation errors. Note: We are planning on adding support for validatingbody
params in the future but for now, even though they can be marked as required and the red asterisk shows up, badmagic will allow the network request to continue.Bugfixes
Enhancements
useMemo
anduseCallback
in a few areas to improve performanceScreenshots
URL Param Validation
URL Params marked as required, URL Params Cannot Be Null
Workspace Initialization Improvements + Bugfixes
Issues
fixes #46
fixes #50