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.
Activity
krubenok commentedon Jan 28, 2021
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.
Edit lol yup: #650
pierreTklein commentedon Jan 28, 2021
This is definitely a massive undertaking
logan-r commentedon Jan 28, 2021
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?
krubenok commentedon Jan 29, 2021
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.