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

Added support for enableOptionalParameters option in v2 interface. #709

Merged
merged 2 commits into from
May 4, 2023

Conversation

VShingala
Copy link
Member

@VShingala VShingala commented Apr 27, 2023

Overview

This PR adds support for option enableOptionalParameters in convertV2 and validateTransactionV2 interfaces. As reported by users here #31 (comment), we did not add this option with v2 interface.

Solution

We'll now be marking all optional params as disabled if option enableOptionalParameters is provided as false. (Default value for it is true).

We'll also be making sure to not report such params as missing in validation flow given option is false.

Track

https://go.postman-beta.co?_track=br-feature-IMPORT-227

Both conversion and validation can be checked on this branch.

@VShingala VShingala merged commit 4560c34 into develop May 4, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants