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

feat(sdk): add json try methods #3014

Merged
merged 7 commits into from
Jun 27, 2023
Merged

feat(sdk): add json try methods #3014

merged 7 commits into from
Jun 27, 2023

Conversation

hasanaburayyan
Copy link
Contributor

@hasanaburayyan hasanaburayyan commented Jun 21, 2023

Adds support for:
- tryGet()
- tryGetAt()
- asStr()
- tryAsStr()
- asBool()
- tryAsBool()
- asNum()
- tryAsNum()

Closes: #2707

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 Monada Contribution License.

@hasanaburayyan hasanaburayyan requested a review from a team as a code owner June 21, 2023 14:55
@hasanaburayyan hasanaburayyan force-pushed the hasan/json-enhancements branch 2 times, most recently from 88b36b2 to f40a747 Compare June 26, 2023 19:46
@mergify
Copy link
Contributor

mergify bot commented Jun 27, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Jun 27, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 617a142 into main Jun 27, 2023
11 checks passed
@mergify mergify bot deleted the hasan/json-enhancements branch June 27, 2023 15:32
@monadabot
Copy link
Contributor

Congrats! 🚀 This was released in Wing 0.22.27.

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.

json api enhancement
3 participants