-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: add backend for new user/group column #1090
Conversation
232b63c
to
731c09b
Compare
0be010b
to
654df3a
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
e51cca5
to
924dbb7
Compare
5af9d74
to
06f0546
Compare
5d0404e
to
30adf50
Compare
06f0546
to
e514050
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First glance looks good, have not tested myself yet
- Integration test can be extended around inserting, modifying and delete column values
- a new migration class is needed to add the new columns on existing installations (existing steps are not executed again).
ef7e9f2
to
87e80be
Compare
48d1010
to
f527f99
Compare
e514050
to
b2092af
Compare
d07cbe5
to
5c276de
Compare
5634e76
to
11f7d96
Compare
All right, from the journey through the rabbit hole of value transformation/parsing, i came up with a few changes: Related to this PR:
More general as the current approach to handle different value formats was really confusing and not feasible for the usergroup column:
Still checking in on the test failures |
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
Signed-off-by: Cleopatra Enjeck M <[email protected]>
b69b694
to
7072206
Compare
Signed-off-by: Cleopatra Enjeck M <[email protected]>
…grade Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
7072206
to
5432853
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A question, a hint, a follow up thing, and a nitpick, nothing blocking per se.
->from('tables_row_cells_'.$columnType) | ||
->selectAlias($qb->expr()->castColumn('value', IQueryBuilder::PARAM_STR), 'value'); | ||
|
||
// This is not ideal but I cannot think of a good way to abstract this away into the mapper right now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roger. perhaps opening an issue for this afterwards?
Signed-off-by: Julius Härtl <[email protected]>
Contributes to #586
This adds to the backend to support adding a new column that receives users or groups.
We expect the row values of this column to be array of objects with format
{id: string, type: int}
Creating a column
Request
Result