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

modifies Struct#elements() to return all field values #754

Merged
merged 2 commits into from Apr 20, 2023

Conversation

desaikd
Copy link
Contributor

@desaikd desaikd commented Apr 20, 2023

Description of changes:

This PR modifies Struct#elements() to return all field values instead of returning the last value for a duplicate field name.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

src/dom/Struct.ts Show resolved Hide resolved
src/dom/Struct.ts Show resolved Hide resolved
test/dom/dom.ts Outdated Show resolved Hide resolved
test/dom/dom.ts Show resolved Hide resolved
@desaikd desaikd merged commit 3f1b469 into amazon-ion:v5.0.0-development Apr 20, 2023
5 checks passed
desaikd added a commit that referenced this pull request Apr 24, 2023
* Drops support for Node 10.x, 12.x and adds 18.x (#723)

* move to native `BigInt` from `JSBI` (#721)

* Updates typedoc syntax to address warnings (#733)

* updates test-driver to es2020 (#736)

* Migrate linting from TSLint to ESLint (#737)

* adds changes for resolving ion-test-driver build issue (#748)

* adds changes to allow `dom.Decimal` construction from `Number` and `String` (#746)

* updates uglify version

* adds changes for upconverting JS value for dom collections (#749)

* removes deprecated method `byteValue()` for v5.0.0 release (#750)

* modifies `Struct#elements()` to return all field values (#754)

---------

Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
Co-authored-by: Delaney <delaneygillilan@gmail.com>
Co-authored-by: Zack Slayton <zack.slayton@gmail.com>
Co-authored-by: Andrey Lipatkin <400234+Litee@users.noreply.github.com>
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

2 participants