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

Check for only structure shapes for circular dependency #277

Merged

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Feb 26, 2021

Issue #, if available:
N/A

Description of changes:
The Set parents was added to avoid StackOverflow Error occurring due to circular dependencies in recursion in PR #181
To check for recursions, the value needs to be populated only for Structure shapes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr force-pushed the fix-filterSensitiveLog-recursion-bug branch from 09557c4 to f0e2aad Compare March 2, 2021 16:54
@trivikr trivikr changed the title Check for only structure shapes for recursion Check for only structure shapes for circular dependency Mar 2, 2021
@alexforsyth
Copy link
Contributor

LGTM - i'll leave approval to @kstich

@trivikr trivikr merged commit aa6e25e into smithy-lang:main Mar 4, 2021
@trivikr trivikr deleted the fix-filterSensitiveLog-recursion-bug branch March 4, 2021 18:25
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
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.

None yet

4 participants