-
Notifications
You must be signed in to change notification settings - Fork 8
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
Admin Generator (Future): Forward selectionProps to support implementing AssignGrid #2449
base: main
Are you sure you want to change the base?
Conversation
e.g. it's possible to use the generated grid as select-grid or style something
2612c3f
to
fa86c98
Compare
@@ -41,7 +41,7 @@ function findQueryTypeOrThrow(queryName: string, schema: IntrospectionQuery) { | |||
return ret; | |||
} | |||
|
|||
export type Prop = { type: string; optional: boolean; name: string }; | |||
export type Prop = { type: string; optional: boolean; name: string; destructionAlias?: string }; |
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.
destructionAlias is not used, what are the plans with it?
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.
I'm not using it anymore. I'm removing it.
@johnnyomair I hope merge-main solves the lint-issue |
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.
Please resolve conflicts.
Requirement
Set
selectionProps
from outside to use the generated grid as select-grid (see #2428).Solution
Simply add selection-specific props and merge with already existing
dataGridProps
const.Open issues