Skip to content

Conversation

cscheid
Copy link
Collaborator

@cscheid cscheid commented Oct 21, 2024

Closes #11139.

@cscheid cscheid changed the title Bugfix/11139 Merge metadata instead of overriding Oct 21, 2024
@cscheid
Copy link
Collaborator Author

cscheid commented Oct 21, 2024

This is going to be much harder than I thought.

@cscheid cscheid closed this Oct 21, 2024
@cscheid cscheid reopened this Oct 21, 2024
@cderv
Copy link
Collaborator

cderv commented Oct 22, 2024

As this part is about support inline execution in YAML metadata (which is what engineMetadata is about), we really need to be careful with merging to not endup with unproccessed meta.

TBH, I more inclined to not support using inline computation in metadata as we support metadata block created from code cells in document. This would mean that this is whole code part about engineMetadata is unnecessary (but would be breaking anyone using it).

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 22, 2024

The bug would also happen if metadata blocks created from code were doing complicated merges.

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 22, 2024

I'm going to close this PR and we'll have to revisit in 1.7.

@cscheid cscheid closed this Oct 22, 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.

Quarto improperly merges metadata for Lua filter use

2 participants