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

Don't throw exception when table columns is empty #75

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

ElRochito
Copy link
Contributor

@ElRochito ElRochito commented Jan 26, 2023

This PR allows to remove the exception thrown when no columns associated with the model are found.

Why ?
For example, if we want to manage a Postgres view. doctrine/dbal does not allow you to retrieve columns from a view

In an upcoming PR, I will propose some changes in order to generate DocBlock for other models which are not a table and generate custom DockBlock too

@bastien-phi bastien-phi merged commit 466ebdc into main Jan 26, 2023
@bastien-phi bastien-phi deleted the remove-exception-model-columns-empty branch January 26, 2023 09:25
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