fix / improve code generation #63

Open
opened 2026-01-20 11:23:08 +00:00 by timur · 1 comment
Owner

OSIS code generation is placing generated code into rpc.rs file, such as the root object crud traits. These need to be removed, in fact the traits arent even necessary because the root objects are to support single CRUD implementation. Any schema that wants to use its own backend should not be marked rootobject. Furthermore pre_ and post_ triggers should not be in _generated.rs file since they are to be customly implemented. Readme should also be generated.

OSIS code generation is placing generated code into rpc.rs file, such as the root object crud traits. These need to be removed, in fact the traits arent even necessary because the root objects are to support single CRUD implementation. Any schema that wants to use its own backend should not be marked `rootobject`. Furthermore pre_ and post_ triggers should not be in `_generated.rs` file since they are to be customly implemented. Readme should also be generated.
Author
Owner

a0515fcebf makes these changes. confirmed to work for hero0 and will confirm atlasserver

a0515fcebfd10b5993c94b7294f79ece59720ca6 makes these changes. confirmed to work for hero0 and will confirm atlasserver
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_lib#63
No description provided.