You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix async core. If with getting client socket, app creates task and await it, then await blocks the app. With removing await, app begin working really asynchronous. And another addition - new changing system of query params, now supporting "in" and "exactly" for numbers, and "like" for strings
New system of auto filters. Framework reads query parameters from url, parse them and generate filters for sql alchemy. System looks like in django with lookup fields. But at the moment raw functionality, in future it will be better
Usning marshmallow instead of pydantic, becase pydantic is incorrectly works with json schema. If model's filed is optional, in pydantic it must me defined as None default, but if field is None default, in nested schemas for openapi, schemas is equal to null, instead of nested model. Pydantic have more inconvinient moment in my opinion, but with this json schema reason, it is critical reason
In this release my metaclass generate nested pydantic models based on sql alchemy models. And with some code in controller, i can execute sql alchemy query to db, and with my generated pydantic models transorm them in nested json objects
Rewrite main.py to using sockets instead of transports and protocols asyncio
Because bad documentation about protocols and transports. Documentation tell
about basic using, but event without async await
In start of project i wanted to use my event loop, but it is can take too much
time to integrate it with other libraries like sqlalchemy, asyncpg etc. Therefore i
decide to use asyncio and uvloop. Uvloop because it fast :)