Jonas Meurer

Results 17 comments of Jonas Meurer

My last statement is maybe not 100% true. We could get information from structs if we generate code which provide these information. We define a trait `JuniperObjectInfo` which can hold...

Looks good. Currently it is not clear what happens on duplicate fields. I would assume that the registry (https://github.com/zhenwenc/juniper/blob/4cdf13396c8c68841d08bb8319cca4055c217980/juniper_codegen/src/util/mod.rs#L888) overrides if the field is already defined. In my opinion silently...

I thought about the duplicate issue and I think there is no perfect solution. However, I had two ideas in my mind. - Registry panics if a field is overwritten....

Thanks for the input. I did not know that the `inventory` crate exists. To get this clear, we would implement similar functionality (as in `inventory`) for our registry? Such that...

Thanks for the clarifications and examples. Overall I really like the design since it is more "like" Rust. Not sure how well this works at the end. > The only...

I just ran some tests and this is possible. Here is small example. Notice that this example requires the newest changes on the master (includes subscription support!). I marked the...

> For text files, you can also do typst c hi.typ --input "key=$(cat file.txt)". For binary data, this would require some sort of encoding, e.g. base64. Still possible though, in...