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
With #63 mapping the built-in range types, we should also map range operations so that it's possible to invoke them from C# without dropping down to raw SQL. The list of operators can be found here, and would include stuff like containment. These would be implemented as EF Core extension methods over NpgsqlRange.
If you're interested in this, please upvote and post which operations interest you most.
I'm new to query operator translation, but if no one else has started in on this, I can take a first pass at it. I've forked the dev branch and have gotten most of the test suite building locally.
So far I've started on the containment operators:
NpgsqlRange<T>.Contains(T item)
item.ContainedBy(NpgsqlRange<T> range)
Questions:
Does the Npgsql team have a contributors guide that I should review?
Should I open a pull request while working on this feature, or wait until all of the operators are passing?
Hi @austindrenski, it's great to have you as a contributor!
There's no style guide really, I suggest you try to follow the conventions you see in the codebase. You're also welcome to send a PR before you're done and I'll review to make sure you're on the right path.
Activity
austindrenski commentedon Mar 4, 2018
I'm new to query operator translation, but if no one else has started in on this, I can take a first pass at it. I've forked the dev branch and have gotten most of the test suite building locally.
So far I've started on the containment operators:
NpgsqlRange<T>.Contains(T item)item.ContainedBy(NpgsqlRange<T> range)Questions:
roji commentedon Mar 4, 2018
Hi @austindrenski, it's great to have you as a contributor!
There's no style guide really, I suggest you try to follow the conventions you see in the codebase. You're also welcome to send a PR before you're done and I'll review to make sure you're on the right path.
Looking forward to seeing your work!
roji commentedon May 15, 2018
Thanks for your contribution @austindrenski!