LUDevNet / ParadoxServer

Server-side component of LU-Explorer
https://lu-dev.net/lu-explorer
4 stars 3 forks source link

GraphQL: Support conditional fields #41

Open lcdr opened 1 week ago

lcdr commented 1 week ago

E.g. for the mission list query, which needs to fetch different columns depending on whether the mission is an actual mission or an achievement. Right now all columns are fetched for all entries, wasting space.

A preferable alternative there might be to make a separate table for missions and achievements, as many of the concepts of missions aren't actually applicable to achievements.