English
Open in Telegram

Post🚀 New issue to wemake-services/django-modern-rest by @sobolevn

12 September 2026
W
wps_forward_bot
🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Support better schema generation parameters (#1462) Currently we don't pass quite a lot of options to both pydantic and msgspec schema generation: django-modern-rest/dmr/plugins/pydantic/schema.py Lines 27 to 30 in 405ba9b When pydantic defines this method as: def json_schema( self, *, by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE, union_format: Literal['any_of', 'primitive_type_array'] = 'any_of', schema_generator: type[GenerateJsonSchema] = GenerateJsonSchema, mode: JsonSchemaMode = 'validation', ) -> dict[str, Any]: The same with msgspec: django-modern-rest/dmr/plugins/msgspec/schema.py Lines 24 to 27 in 405ba9b Signature: def schema( type: Any, *, schema_hook: Optional[Callable[[type], dict[str, Any]]] = None, ref_template: str = _REF_TEMPLATE, ) -> dict[str, Any]: So, what we need to do: 1. Provide way to easily customize the schema generation for both pydantic and msgspec 2. Both would have different API, matching the current defaults 3. Document how to customize the schema generation this way: create your own serializer, subclass schema generator, use it 4. Add tests for 2 of these cases, especially with custom schema_hook and schema_generator options #feature #good_first_issue #help_wanted #openapi #opensource_september #django_modern_rest sent via relator
1 · 222 ·

Nearby in the feed

Wwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Improve testing of complex type-forms (#1460) We test quite a lot of type forms in our tests. BWwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Make sure that it is possible to customize `operation_id` generation (#1461) If people need to
this message
Ggh-issuer-bot🚀 New issue to ag2ai/faststream by @Lancetnik 📝 Bug: `StreamSub` warns that `no_ack` has no effect with a consumer group, but the flag is forwarded to XREADGROUWwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Support missing OpenAPI 3.2 features (#1485) #feature #help_wanted #openapi #opensource_septemb
ННаходки в опенсорсе: PythonНаходки в опенсорсе: Python@opensource_findings_python · channel · Tech
1 052subscribers342average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count