Queries regarding UpdateSchemaInternalType
& DeleteSchemaType
#146
Labels
enhancement
New feature or request
UpdateSchemaInternalType
& DeleteSchemaType
#146
Describe the bug or question
Hi 👋🏻
First of all great library. I wanted to create something like this and it already exist 😅
I already have similar approach in my previous project but as you also provide great filtering & sorting out of the box I would like to give it a try.
Question: I was migrating from my own CRUD to FastCRUD and realized there's two new schemas
UpdateSchemaInternalType
&DeleteSchemaType
. I wanted to know why those two exist?UpdateSchemaInternalType
: I searched the docs & also checked the source but schema isn't used anywher, Am I right? If yes, Should we remove it from passing it for static typing?DeleteSchemaType
: Most of the time this is not required and also in source code I can see it's just inheriting theBaseModel
so should we also remove it? Moreover, I'm not aware of whole code strcuture but I noticed there's conditional addition of delete endpoint based on this schema I guess.To Reproduce
n/a
Description
above
Screenshots
n/a
Additional context
How's your plan for improving types for filtering because after reading docs it looks like FilterConfig is not type safe 🤔
The text was updated successfully, but these errors were encountered: