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

Change orderLineCategories in the methods binder to an array #285

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

Pimm
Copy link
Collaborator

@Pimm Pimm commented Jul 21, 2022

The Mollie API expects orderLineCategories in the list methods endpoint to be a comma-separated list. However, an array of strings is the more JavaScript-native type here, and the NetworkClient will join it anyway.

This is not a breaking change, as orderLineCategories was introduced in #279, which has not yet been released.

The Mollie API expects a comma-separated list (see https://docs.mollie.com/reference/v2/methods-api/list-methods#parameters). However, an array of strings is the more JavaScript-native type for this, and the NetworkClient will join it anyway.
Copy link
Collaborator

@edorivai edorivai left a comment

Choose a reason for hiding this comment

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

Lgtm

@Pimm Pimm merged commit e38ab7e into master Jul 22, 2022
@Pimm Pimm deleted the pimm/olc-array branch July 22, 2022 05:29
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.

2 participants