Skip to content

Conversation

@svix-mman
Copy link
Contributor

The MutList will help with the upcoming v2 CLI.

It's has a simple append method, and it implements enumerate so I will be able to iterate through the vec from within a template.

@svix-mman svix-mman changed the base branch from mendy/add-new-frontmatter-parser to main November 28, 2025 16:03
@svix-mman svix-mman marked this pull request as ready for review November 28, 2025 16:03
@svix-mman svix-mman requested a review from a team as a code owner November 28, 2025 16:03
@svix-mman svix-mman force-pushed the mendy/add-mut-list branch 2 times, most recently from 34e301a to efad6a0 Compare December 5, 2025 15:28
Copy link
Member

@svix-jplatte svix-jplatte left a comment

Choose a reason for hiding this comment

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

May I suggest renaming the Rust struct to ValueVec or Array, the constructor to vec() or array() (akin to dict(), namespace()) and the method to push?

@svix-jplatte svix-jplatte changed the title Add new MutList a list mutable from the minijinja context Add new ValueVec a list mutable from the minijinja context Dec 5, 2025
Copy link
Member

@svix-jplatte svix-jplatte left a comment

Choose a reason for hiding this comment

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

Make sure to squash-merge and adjust the message to mention the right name 😅

@svix-mman svix-mman merged commit 260154e into main Dec 5, 2025
3 checks passed
@svix-mman svix-mman deleted the mendy/add-mut-list branch December 5, 2025 15:52
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