Should filtering options be defined per Postgres or Mathesar type? #843
Closed
dmos62
announced in
Maintainer discussions
Replies: 2 comments 7 replies
-
I agree with @mathemancer's point as well. If the db types requires different filtering options, they should probably belong to a different Mathesar type. I am wondering if there are any possible cases where grouping differs by db type for types within the same mathesar type. It would be better if we can bring in both filtering and grouping options within Mathesar types. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's my reasoning for filtering and grouping being on DB types:
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Part of the filtering functionality is to expose in the REST API the fitlering options available to each type. At the moment, our REST API only exposes metadata on the Mathesar types. However, @kgodey indicated that filtering options should be defined per Postgres type, which seems to contradict that architecture.
@mathemancer provided some input in chat, saying that filtering on Mathesar types should be a good abstraction:
I tend to agree, though I'm wondering if there's more to this.
Beta Was this translation helpful? Give feedback.
All reactions