▲ | winrid 4 days ago | |
I don't know zig - is this query type safe in that if I change a member name in the struct it'll fail to compile? https://github.com/jetzig-framework/jetquery usually I do this with codegen, pretty cool if zig's type system is this powerful Also holy crap: for (cat.homes This is like django! | ||
▲ | messe 4 days ago | parent [-] | |
Yes, all reflection in Zig is static reflection, so that should generate a compile error (although how obvious it will be is a different question). |