Joseph Perez

Results 50 issues of Joseph Perez

I currently have (on a private repository) a binary application (`src/main.rs`) with an additional binary used for deployment stuff. This binary has `required_features` set. In this configuration, *cargo chef* will...

bug

Currently, error about data type, e.g. `expected type array, found string` cannot be customized. It should be the case.

enhancement

This addition is currently block by a [GitHub bug](https://github.community/t/support-theme-context-for-images-in-light-vs-dark-mode/147981/95)

documentation

With Cython, performance penality caused by serialization type checking is less an issue. *apischema* is already fast enough to afford this feature as default behavior, as it will stay a...

question
breaking change

Several features of *apischema* requires an object field to be passed, e.g. [field ordering](https://wyfo.github.io/apischema/de_serialization/#field-ordering), [field validator](https://wyfo.github.io/apischema/validation/#using-other-fields), or [object serialization](https://wyfo.github.io/apischema/conversions/#object-serialization-select-only-a-subset-of-fields). Fields can be either: - an *apischema* `ObjectField` - a dataclass...

enhancement
question

See https://github.com/wyfo/apischema/discussions/226#discussioncomment-1540839 (a workaround is given). Such ordering should be handled by `order` decorator. My first idea is to pass a function parameter to `order`, which would be applied to...

enhancement

**Describe the bug** Envelope deserialization doesn't catch empty forward_path. **To Reproduce** ```rust serde_json::from_str::(r#"{"forward_path": []}"#).unwrap() // should panic, but don't ``` **Expected behavior** Deserializing envelope with empty forward_path should panic. **Environment...

type:bug
good first issue

Current benchmark is not fair for libraries like *pydantic* or *marshmallow* because they use standard `json` library while typical use *orjson*, which is a lot faster.

My issue is related to #281, but the associated PR (#282) doesn't completely solve it. I would like to be able to publish to exchange without declaring it. I could...