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

Expressions are no longer PATs #330

Merged
merged 1 commit into from
Apr 11, 2018
Merged

Expressions are no longer PATs #330

merged 1 commit into from
Apr 11, 2018

Conversation

groue
Copy link
Owner

@groue groue commented Apr 11, 2018

The SQLSelectable and SQLExpression protocols that fuel the query interface have turned into PATs (protocol with associated type) in GRDB 2.9.

This has introduced inconvenience for some users, would could no longer easily introduce custom expression types (such as a typed Column type, for @freak4pc - as notified in a private Twitter conversation).

This PR reverts this change: SQLSelectable and SQLExpression are no longer PATs.

@groue groue added this to the GRDB 3.0 milestone Apr 11, 2018
@groue groue mentioned this pull request Apr 11, 2018
29 tasks
@groue groue merged commit b252c68 into GRDB3 Apr 11, 2018
@groue groue deleted the GRDB3-RemovePATs branch April 11, 2018 11:08
groue added a commit that referenced this pull request Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant