bevy/crates/bevy_remote/src
MevLyshkin 84f21f7c8a
Schema types metadata (#19524)
# Objective

- Currently there is predefinied list of supported DataTypes that can be
detected on Bevy JSON Schema generation and mapped as reflect_types
array elements.
- Make it possible to register custom `reflectTypes` mappings for Bevy
JSON Schema.

## Solution

- Create a `SchemaTypesMetadata` Resource that will hold mappings for
`TypeId` of `TypeData`. List is bigger from beggining and it is possible
to expand it without forking package.

## Testing

- I use it for quite a while in my game, I have a fork of bevy_remote
with more changes that later I want to merge to main as well.

---------

Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com>
2025-06-20 17:07:16 +00:00
..
schemas Schema types metadata (#19524) 2025-06-20 17:07:16 +00:00
builtin_methods.rs Schema types metadata (#19524) 2025-06-20 17:07:16 +00:00
http.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
lib.rs Schema types metadata (#19524) 2025-06-20 17:07:16 +00:00