News for hackers. Stuff that matters.
Re:SPAs Were a Mistake by tekknik on Thursday March 03, 2022 @07:21PM (#30548909)
What a tortured usage of GraphQL. Schema files are automatically generated by the backend, and components pull data that they need, and know more. If you find yourself changing schemas constantly, then you’re not defining them in a scalable manner. You’ve basically misused the tech, and blamed it on the tech instead of your misuse.
Re:SPAs Were a Mistake by tored on Thursday March 03, 2022 @11:22PM (#30550669)
That is even more horrible what I thought. Automatically generate schemas 1:1 and then expose it. Let me guess tons of information leakage, ddos attacks and queries not hitting indexes. This is absolutely the worst idea I come across in web development. Horror.