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
The ability to see the current fields configuration for a project.
Why?
For my use case I need to list the available options for the built-in field status even if no items have that status set. Anyone who wants to discover how a project is configured would find the generally capability useful.
This seems really to just be modifying projectNodeToProperties() to not include fields from state.
There could be confusion in doing this in regards to the GitHubProject.fields property when doing this which from my understanding is about mapping/remapping the fields given back for each item.
I ignorantly thought this was all fields in the project, not those just mapped through with options.
Alternatives you tried
Could have written my own query but since everything was already loaded I just patched projectNodeToProperties().
Would you be interested in contributing the feature?
yes
The text was updated successfully, but these errors were encountered:
I would do a PR but not really comfortable with what do to testing-wise. Not 100% sure that ProjectFieldMap is the interface you want to expose either. For example it has the OptionsBy* which are somewhat internal.
coxd
changed the title
Expose the fields, data types and options that exist in the project
Expose the fields, their data types and options that exist in the project
Sep 28, 2024
Please avoid duplicates
What’s missing?
The ability to see the current fields configuration for a project.
Why?
For my use case I need to list the available options for the built-in field
status
even if no items have that status set. Anyone who wants to discover how a project is configured would find the generally capability useful.This seems really to just be modifyingprojectNodeToProperties()
to not includefields
fromstate
.There could be confusion in doing this in regards to theGitHubProject.fields
property when doing this which from my understanding is about mapping/remapping the fields given back for each item.I ignorantly thought this was all fields in the project, not those just mapped through with options.
Alternatives you tried
Could have written my own query but since everything was already loaded I just patched
projectNodeToProperties()
.Would you be interested in contributing the feature?
The text was updated successfully, but these errors were encountered: