Skip to content
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

Introduce option to store a Connector selection as a JSON object instead of an array #1191

Open
BeeBombshell opened this issue Mar 31, 2023 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@BeeBombshell
Copy link
Member

Originally posted by: BourbonBristles#9051 on Discord Support Forum

Feature Description

I would like the option to store a single Connector selection as a single JSON object, instead of an array. This vastly simplifies keeping that (usually) denormalized field in sync, as well as simplify firestore querying for that field.

This would also allow us to implement the Connector feature in-place, without editing the rest of the codebase to support an array. We can get around that now by using a derivative that extracts the item, but this make syncing and programmatically updating that field more complex. A simple opt-in to change the output format to an object would suffice. Is there another way to accomplish this that I am missing?

For a simple example, you could just take a Book/Author relationship.

@BeeBombshell BeeBombshell added enhancement New feature or request good first issue Good for newcomers labels Mar 31, 2023
@ahmed-osama-saad
Copy link

I expected the field type be determined by the allow "Allow for multiple item selection" option. If only one option can be selected there is no need for the output to be an array

@prabhatexit0
Copy link
Contributor

I would like to take up this issue.
Can you provide an example of Single Connector Selection? I'm new to rowy and this is a bit unclear to me.

@ashutosh887
Copy link

Let me work on this @BeeBombshell

@gopivaibhav
Copy link

Can I work on this now as it was assigned to no one? @BeeBombshell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants