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

Support extra parameters in typed params #773

Merged
merged 6 commits into from
May 7, 2019

Conversation

mickjermsurawong-stripe
Copy link
Contributor

This PR simply cherry-picked from the integration branch autogen/service that has helpers for adding extra params from this approved PR #752.

The motivation is that we want to release extra params separately from the service which isn't finalized yet.

Once this is approved,

  • I will merge to this the PR that has additional validation work (to prevent duplicate extra keys) Validate extra params conflict #767
  • I will merge the "ungating" of extra params in the autogen to master

r? @ob-stripe
cc @remi-stripe @stripe/api-libraries

* allow custom strategy within the package

* package-level params converter

* test create query with encoded param keys

* improve comments
Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mickjermsurawong-stripe mickjermsurawong-stripe changed the title Support extra parameters in typed params (#752) Support extra parameters in typed params May 7, 2019
@mickjermsurawong-stripe mickjermsurawong-stripe merged commit 8d9fcc0 into master May 7, 2019
@ob-stripe ob-stripe deleted the mickjermsurawong/extra-params branch June 15, 2019 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants