Skip to content

Conversation

emiliano-gandini-outeda
Copy link
Contributor

Addressing this issue, points 1 through 7.

These are the changes I've done on the documentation atm.

Added detailed examples for CRUD, API endpoints, exceptions, caching, and rate limiting, improving consistency and dependency injection across docs. Standardized imports, examples, and error handling patterns while updating pagination and database usage to current FastCRUD conventions.

@carlosplanchon gave me a code review. More feedback is appreciated.

Points 8 and 9 of the issue will be addressed shortly.

fix(docs): correct API routes section with proper dependency injection and error handling

- Add consistent Annotated[AsyncSession, Depends(async_get_db)] pattern across all examples
- Fix missing database dependency injections in endpoint examples
- Standardize on explicit boolean checks (is None, is True, is False) for clarity
- Include proper imports in all code snippets
- Improve pagination examples with complete import statements
- Enhance exception handling examples with realistic use cases
- Update navigation flow between sections
- Ensure all code examples are self-contained and executable
replaced crud_entities for crud_entity
…in cache examples for consistency and correctness
@igorbenav
Copy link
Collaborator

Hey, @emiliano-gandini-outeda, this is awesome work! Thank you so much both you and @carlosplanchon

@igorbenav igorbenav merged commit 22273be into benavlabs:main Oct 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants