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

fix(sdk)!: change Json.entries() to return Array<JsonEntry> #4255

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

hasanaburayyan
Copy link
Contributor

Brought up during Wingly, we can just return a struct that holds the key and value when calling Json.entries(). Also this does not need to be a macro function

Checklist

  • Title matches Winglang's style guide
  • Description explains motivation and solution
  • Tests added (always)
  • Docs updated (only required for features)
  • Added pr/e2e-full label if this feature requires end-to-end testing

By submitting this pull request, I confirm that my contribution is made under the terms of the Wing Cloud Contribution License.

@hasanaburayyan hasanaburayyan requested a review from a team as a code owner September 21, 2023 22:10
@hasanaburayyan hasanaburayyan changed the title fix(sdk)!: BREAKING CHANGE: Json.entries() returns Array<JsonEntry> fix(sdk)!: change Json.entries() to return Array<JsonEntry> Sep 21, 2023
@monadabot
Copy link
Contributor

Console preview environment is available at https://wing-console-pr-4255.fly.dev 🚀

Updated (UTC): 2023-09-21 22:17

@mergify
Copy link
Contributor

mergify bot commented Sep 22, 2023

Thanks for contributing, @hasanaburayyan! This PR will now be added to the merge queue, or immediately merged if hasan/json-entries-update is up-to-date with main and the queue is empty.

mergify bot added a commit that referenced this pull request Sep 22, 2023
mergify bot added a commit that referenced this pull request Sep 22, 2023
@mergify mergify bot merged commit f676dad into main Sep 22, 2023
14 of 15 checks passed
@mergify mergify bot deleted the hasan/json-entries-update branch September 22, 2023 09:18
@monadabot
Copy link
Contributor

Congrats! 🚀 This was released in Wing 0.33.0.

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.

3 participants