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): adding datetime type #3570

Merged
merged 11 commits into from
Aug 1, 2023
Merged

feat(sdk): adding datetime type #3570

merged 11 commits into from
Aug 1, 2023

Conversation

tsuf239
Copy link
Collaborator

@tsuf239 tsuf239 commented Jul 23, 2023

Description

closes #2102
(besides adding the type mapping, opened a separate issue: #3569)

a wing test added, checked both preflight and inflight both in tf-aws and sim.

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.

@tsuf239 tsuf239 requested a review from a team as a code owner July 23, 2023 10:31
@tsuf239 tsuf239 changed the title Adding datetime type feat(sdk): Adding datetime type Jul 23, 2023
@tsuf239 tsuf239 changed the title feat(sdk): Adding datetime type feat(sdk): adding datetime type Jul 23, 2023
Copy link
Contributor

@hasanaburayyan hasanaburayyan left a comment

Choose a reason for hiding this comment

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

Looking good so far, I added some nits to the comment docstrings I didnt do all of them but if you could take a look.

libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
libs/wingsdk/src/std/datetime.ts Outdated Show resolved Hide resolved
@monadabot monadabot added the ⚠️ pr/review-mutation PR has been mutated and will not auto-merge. Clear this label if the changes look good! label Jul 30, 2023
@tsuf239 tsuf239 removed the ⚠️ pr/review-mutation PR has been mutated and will not auto-merge. Clear this label if the changes look good! label Aug 1, 2023
@mergify
Copy link
Contributor

mergify bot commented Aug 1, 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 bot added a commit that referenced this pull request Aug 1, 2023
mergify bot added a commit that referenced this pull request Aug 1, 2023
@mergify mergify bot merged commit 04dc23d into main Aug 1, 2023
11 checks passed
@mergify mergify bot deleted the tsuf/datetime branch August 1, 2023 08:35
@monadabot
Copy link
Contributor

Congrats! 🚀 This was released in Wing 0.24.58.

mergify bot pushed a commit that referenced this pull request Aug 7, 2023
…ember accessibility (#3725)

Following @Chriscbr's comment: #3570 (comment)

I added those two rules to the SDK's linter and ran it once to apply them.
The added regulations are:
* capitalizing comment- makes sure comments and doc strings are capitalized
* explicit member accessibility- makes sure that all methods and properties are marked with the right member accessibility- public, protected, or private

I also added a sentence to the docs referring to the importance of docstrings, which should be capitalized.


## Checklist

- [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [x] Description explains motivation and solution
- [ ] Tests added (always)
- [x] 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](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
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.

Missing datetime std type
4 participants