Juniper Tyree

Results 292 comments of Juniper Tyree

Ok, with some extra playing around there is a serious 4th option. #453 would at least allow flattened structs to roundtrip through RON. However, the syntax would still use maps...

@ebkalderon @solarretrace @Frizi @ericsampson @kvark @torkleyy What are your thoughts on #453 as a minimal fix?

> For comparison, serde_starlark (https://github.com/dtolnay/serde-starlark) supports `flatten`, and Starlark syntax is structurally extremely similar to RON. > > Example: https://github.com/bazelbuild/rules_rust/blob/84f1d0657d28df8ddea71c492412b9480c70025d/crate_universe/src/utils/starlark.rs#L179-L180 > > That data structure gets serialized to Starlark which...

> In no way serious, > > > new crate serde2 that works with existing serde impls to ease adoption > > This would not work, since the output of...

> > For comparison, serde_starlark (https://github.com/dtolnay/serde-starlark) supports `flatten`, and Starlark syntax is structurally extremely similar to RON. > > Example: https://github.com/bazelbuild/rules_rust/blob/84f1d0657d28df8ddea71c492412b9480c70025d/crate_universe/src/utils/starlark.rs#L179-L180 > > That data structure gets serialized to Starlark...

@ModProg Thank you for sharing your thoughts! I've been thinking about the UTF-8 support for a while too but haven't had the time to draft an implementation so far. When...

I think especially with #479, I'm now convinced that this is a good idea to ensure that values can roundtrip. I'll see if I can work on this tomorrow. As...

I think that #206 fixed the code duplication issue and #488 finally pushed the serialising code to 100% code coverage

I am currently working on a small side project that will need the new `own` and `borrow` types in `wit-bindgen` (I wrote an original prototype when the old resource implementation...

No worries - and yes, I’ll work on one later today :)