Skip to content

feat(iotevents): add literalString() and literalNumber() to Expression#30

Draft
yamatatsu wants to merge 4 commits intoiotevents-rest-binary-expressionsfrom
iotevents-expressions-fromString
Draft

feat(iotevents): add literalString() and literalNumber() to Expression#30
yamatatsu wants to merge 4 commits intoiotevents-rest-binary-expressionsfrom
iotevents-expressions-fromString

Conversation

@yamatatsu
Copy link
Copy Markdown
Owner

@yamatatsu yamatatsu commented Apr 18, 2022

This PR implements literalString() and literalNumber().

In this discussion, we considered to make breaking change for fromString().
But I thought it is better to keep fromString() with current behavior, because this method is needed for escape-hatch to use some expressions that we have not implemented yet.
Additionally, this behavior is same as appsync MappingTemplate.fromString(), so there is unity in these namings I think.


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

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

@yamatatsu yamatatsu force-pushed the iotevents-expressions-fromString branch from f314748 to cd89d06 Compare April 18, 2022 11:19
@yamatatsu yamatatsu changed the title feat(iotevents): add all binary operations feat(iotevents): add literalString() and literalNumber() to Expression Apr 18, 2022
@yamatatsu yamatatsu force-pushed the iotevents-rest-binary-expressions branch from a63fc40 to bcda92d Compare July 29, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant