Skip to content

Conversation

@reuvenharrison
Copy link
Contributor

This PR contains a unit test that demonstrates the circular refs problem that was reported here.
Unfortunately #970 doesn't seem to resolve this.

children:
type: array
items:
$ref: './AWSEnvironmentSettings.yaml'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note: replacing this with '#/' passes tests

@AnatolyRugalev
Copy link
Contributor

AnatolyRugalev commented Jul 1, 2024

#974 handles this issue.

BTW, ./AwsEnvironmentSettings.yaml and ./AWSEnviromentSettings.yaml are technically two different references, so this will produce two identical types when resolving them on MacOS and Windows due to case insensitive file systems. You can actually see that the test failure in this PR complaints about missing file.

In my PR I fixed this inconsistency in the test scenario.

@fenollp
Copy link
Collaborator

fenollp commented Jul 1, 2024

Addressed in #974

@fenollp fenollp closed this Jul 1, 2024
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.

3 participants