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
Sounds like the proper long term solution for this is a DB re-arch that nests the hacker object for a given instance of the hackathon within the account object. I think we've discussed this in another issue somewhere else.
With the level of effort #650 would take, maybe a better approach to the redesign would be to wrap this API in a GraphQL api and then slowly remove and replace REST parts?
I think there's a real discussion to be had on if going from REST to GQL is actually the correct architecture for an API like this. My gut says that GQL is probably overkill for this application, but I could be convinced otherwise. That being said, the admin side would get some nice benefits out of GQL that the hacker side might not see as much of.
Either way, the way Mongo is being used right now is fundamentally wrong so that needs to be addressed.
Describe the bug
Can associate multiple Hackers with accounts or multiple rolebindings with accounts
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Attempt to create the second hacker would fail
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Had 2 or 3 Hackers associated with a handful of accounts during the 2021 McHacks application period
The text was updated successfully, but these errors were encountered: