Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sqlalchemy_declarative_models.py #1

Merged
merged 1 commit into from
May 6, 2024

Conversation

JorenSix
Copy link

@JorenSix JorenSix commented May 6, 2024

Now uses the SQLAlchemyPlugin in stead of SQLAlchemyInitPlugin, see litestar-org#3464

Description

This fixes a SerializationException when running the demo with dummy data included. The example now is fixed by using the SQLAlchemyPlugin in stead of the SQLAlchemyInitPlugin and dummy data is added which immediately shows the expected behaviour: a JSON list with authors.

See issue litestar-org#3464

Closes

Now uses the SQLAlchemyPlugin in stead of SQLAlchemyInitPlugin, see litestar-org#3464
@JorenSix JorenSix merged commit 3fd090d into main May 6, 2024
@JorenSix JorenSix deleted the SQLAlchemyInitPlugin-fix branch May 6, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant