jetzig-framework / zmpl

Zmpl is a templating language written in Zig
MIT License
103 stars 8 forks source link

Object to struct #25

Closed T-136 closed 1 month ago

T-136 commented 1 month ago

get a struct from object if it matches, else return null

T-136 commented 1 month ago

Builds on previous PR #24. I wanted to have them separated as #24 is a bug fix and this includes a feature suggestion.

This feature suggestion is thought to be complementary to the previous PR #23.

bobf commented 1 month ago

Pause on this PR until this comment has been resolved, as this PR includes changes from #24 that need a bit more discussion.

(I definitely like the addition of getStruct either way).

bobf commented 1 month ago

I resolved the other comment all by myself. : )

Thanks a lot for the recent PRs, @T-136 !