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

🐛 Bug Report: Attributes can be both required and an array #461

Open
2 tasks done
Ananya2001-an opened this issue Jun 5, 2023 · 4 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@Ananya2001-an
Copy link
Contributor

👟 Reproduction steps

Appwrite database > collection > attributes > create attribute

👍 Expected behavior

In some cases it might be possible that a user wants to create an attribute that is both an array and also required, so making it an either-or case is not nice IMO.

👎 Actual Behavior

Currently it just allows u to choose one:

Screenshot 2023-06-05 220148

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Ananya2001-an Ananya2001-an added the bug Something isn't working label Jun 5, 2023
@tessamero
Copy link

tessamero commented Jun 6, 2023

Hi @Ananya2001-an , thank you for reporting this. I updated our team internally so we can make improvements on this area to make it more clear.

@Ananya2001-an
Copy link
Contributor Author

Thanks for the response @tessamero just wanted to clarify one thing that why are we defaulting it to required, I mean what if user doesn't want the array type attribute to be required? So basically we should have both options open, don't ya think?

@tessamero
Copy link

@Ananya2001-an I opened this up to an internal conversation so we can take action on this. Thank you for reporting it :)

@Ananya2001-an
Copy link
Contributor Author

Sure no problem.... glad to help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants