Skip to content

Conversation

GavinZZ
Copy link
Contributor

@GavinZZ GavinZZ commented Nov 25, 2022

Add schema change

Use HTML extension for docs

Format file

Format file

Issue #, if available

#2662

Description of changes

Description of how you validated changes

Checklist

  • Adheres to the development guidelines
  • Add/update unit tests using:
  • Add/update integration tests
  • Update documentation
  • Verify transformed template deploys and application functions as expected
  • Do these changes include any template validations?
    • Did the newly validated properties support intrinsics prior to adding the validations? (If unsure, please review Intrinsic Functions before proceeding).
      • Does the pull request ensure that intrinsics remain functional with the new validations?

Examples?

Please reach out in the comments, if you want to add an example. Examples will be
added to sam init through https://github.com/awslabs/aws-sam-cli-app-templates/

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

Add schema change

Use HTML extension for docs

Format file

Format file
@GavinZZ GavinZZ requested a review from a team as a code owner November 25, 2022 22:26
@hoffa hoffa linked an issue Nov 25, 2022 that may be closed by this pull request
@GavinZZ GavinZZ force-pushed the convert_to_full_path branch from 3dddf69 to 9da3668 Compare November 25, 2022 22:51
@GavinZZ GavinZZ enabled auto-merge (squash) November 25, 2022 23:00
@GavinZZ GavinZZ merged commit 7b9ef85 into aws:develop Nov 25, 2022


def convert_to_full_path(description: str) -> str:
pattern = re.compile("\(([#\.a-zA-Z0-9_-]+)\)")
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: we can move it to constant to avoid repeat compile

Copy link
Contributor

Choose a reason for hiding this comment

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

can we give it a name to explain what we are trying to match?

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.

Fix JSON schema relative links

4 participants