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

Add Map::toSequence() #25

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Add Map::toSequence() #25

merged 2 commits into from
Nov 9, 2024

Conversation

Baptouuuu
Copy link
Member

Request

This will allow to transform Maps into non dictionary values.

One example is an parsing an http response that returns an associative array, validate it as a Map and then transform it in a sequence of values (where the key is injected in the parsed value).

Note

The fix of Map::put() was found by the new property written for Map::toSequence()

@Baptouuuu Baptouuuu added the enhancement New feature or request label Nov 9, 2024
@Baptouuuu Baptouuuu self-assigned this Nov 9, 2024
@Baptouuuu Baptouuuu merged commit 085455d into develop Nov 9, 2024
19 of 21 checks passed
@Baptouuuu Baptouuuu deleted the map-to-sequence branch November 9, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant