Open dixtel opened 3 months ago
great! ill take a look through this today, but as its a bit sizable and ill need to think about merge strategy, might not have full feedback until tomorrow
@grottohub I will fix these issues today or tomorrow
@grottohub I fixed these conflicts. In this week I will not have time for gleam/glyph :disappointed:
I'm really want to finish glyph_codegen because right now the conversion between field type to dynamic.*
is hard-coded (e.g. Option(String) => dynamic.optional_field(dynamic.string)
) and I don't like it. This will cause errors for field types not supported in glyph_codegen (This can happen when merging this MR)
I want to create generic codegen for json that accept any field type and share with the gleam community.
@grottohub I see that you merged a lot of things to main and it will not be so easy to merge with my changes. In short my changes are about:
gleam run -m glyph/internal/codegen
to generate all decoders)