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

Allow any attribute for complex types in schema #8428

Merged
merged 1 commit into from
Aug 28, 2022
Merged

Conversation

den-kuz
Copy link

@den-kuz den-kuz commented Aug 23, 2022

I think we can use full power of XInclude and allow any attribute with lax or skip value in processContents attribute. This gives more flexibility of building dynamic configs.

For example, with current schema i can't use XInclude for issueHandlers configuration, because it has "anyAttribute" configuration, but without processContents="lax" or processContents="skip" attribute. This PR solves this problem and other problems like this

@den-kuz
Copy link
Author

den-kuz commented Aug 23, 2022

Ah, i see this bug already fixed in psalm 5 same way, can we just bring full support of xinclude in 4.x?

@Cimus
Copy link

Cimus commented Aug 23, 2022

Really need

@den-kuz
Copy link
Author

den-kuz commented Aug 25, 2022

@orklah can you review this pr?

@orklah orklah added the release:feature The PR will be included in 'Features' section of the release notes label Aug 28, 2022
@orklah orklah merged commit 1eeea7c into vimeo:4.x Aug 28, 2022
@orklah
Copy link
Collaborator

orklah commented Aug 28, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature The PR will be included in 'Features' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants