34
Comments
  • 2
    Looks like what you get with a recursive query in graphql.
  • 2
    @maxsimon "Working as designed". Fucking backend designer.
  • 0
    @jayminator Sadly, the response is only for a simple list.
  • 1
    Lol and I thought mine was bad
  • 0
    @mclovinit lol. I should've smacked the designer
  • 0
    imo this looks really easily parseable, I don't know whether it's the best way to represent the data, since the only one that knows the data is OP, but I really don't see what's wrong with this approach: representing a hierarchy in "categoryList"s in this recursive manner seems like a pretty senseful method
  • 0
    @pinoaffe Until you realize this structure refers to only 1 item. Not very healthy storing on the mobile app.
Add Comment