Oscar Beaumont

Results 559 issues of Oscar Beaumont

This code is cursed but I think it's the way. I want Specta v2 to be able to develop an ecosystem. That means independent crates implementing `specta::Type` instead of it...

Pull this from Mattrax into the main repo. https://github.com/mattrax/Mattrax/tree/main/crates/specta-zod

You should be able to export a TS type without the Serde checking, like how we allow BigInt's to be configurable.

It's both bad for semver and also can cause unintended LSP hints. Right now Rust Analyser wants to import `FunctionDataType` from `specta::js_doc::FunctionDataType` not `specta::functions::FunctionDataType`

breaking change

What should be public or not? Should it's args be a sealed struct or not?

breaking change

https://github.com/serde-rs/serde/pull/2641#pullrequestreview-1732728579 It's not too late to remove it.

breaking change

Hack around the `'static` bound on Rust's built-in `TypeId` to allow the ID to be tied to a compiler intrinsic instead of the implementation location of the macro like it...

- Can we rethinking `DataTypeFrom`. It should work with it's own SpectaID so `NamedDataTypeExt` could be required. - `DataTypeFrom` should always use `DataType::Map` not `DataType::Struct`??? - Can this work. `TupleType`...

breaking change