Skip to content

Conversation

blackwinter
Copy link
Member

Resolves #631.

Mirroring Catmandu's behaviour: "will not create the intermediate structures if they are missing".

The playground example for set_field doesn't exist yet. Is it going to be added or should I remove the link from the README?

Mirroring Catmandu's behaviour: "will not create the intermediate structures if they are missing".
@TobiasNx
Copy link
Contributor

We should add playground examples as well as provide a reference to the add_functions in the docu since it could help newcomers.

@fsteeg fsteeg assigned blackwinter and unassigned fsteeg Jul 31, 2025
blackwinter and others added 2 commits July 31, 2025 14:49
With `$append`/`$prepend` the intermediate structure doesn't exist by definition.
@blackwinter blackwinter assigned fsteeg and unassigned blackwinter Jul 31, 2025
…el. (#704)

The current "element" designated by `$append`/`$prepend` is not considered "intermediate structure".
@fsteeg fsteeg assigned blackwinter and unassigned fsteeg Aug 1, 2025
@blackwinter blackwinter assigned fsteeg and unassigned blackwinter Aug 1, 2025
@fsteeg fsteeg assigned blackwinter and unassigned fsteeg Aug 1, 2025
@blackwinter
Copy link
Member Author

Thank you both for the thorough reviews! Good catches :)

The playground example for set_field is going to be added (see metafacture/metafacture-playground#227), so I'll leave the link as it is.

@blackwinter blackwinter merged commit c062322 into master Aug 1, 2025
1 check passed
@blackwinter blackwinter deleted the 631-changeSetFunctionsToNotCreateIntermediateStructures branch August 1, 2025 11:10
@github-project-automation github-project-automation bot moved this from Review to Done in Metafacture Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Change set_-functions behaviour to not create intermediate structures.
3 participants