Live data from Hacker News

Viewing profile — tangkikodo

tangkikodo

HN member
Joined
Thu, Sep 07, 2023, 12:45 AM UTC
HN karma
32
Public activity
21 items

About tangkikodo

developer, familiar with js & python

Recent public activity

  1. story
  2. story
  3. story
  4. comment
    Comment #40541950

    different tool for different aspect. using OPENAPI, rpc, GQL types in client, etc to share typing (schema) information between client/server resolver/dataloader in GQL, eager join …

  5. comment
    Comment #40541868

    I would like to recommend pydantic-resolve, it can enjoy benefits from botn rest/rpc and gql. the triky part of gql is we need to build a Query system for all business requirement …

  6. comment
    Comment #40534783

    We just need a tool to let every REST/rpc endpoint gain the ability of 'resolve' and 'dataloader' from GQL, to provide rich detailed view data to frontend (in just single call) So …

  7. comment
    Comment #40534242

    Things will be very interesting if we treat each single rest endpoint as a GQL query. With static typing definition and OPENAPI, we can declare the response type first, and then bo…

  8. story
  9. comment
    Comment #39976490

    this sounds pretty like what dataloader do used in graphql.

  10. story
  11. story
  12. comment
    Comment #39577127

    1. use declaretive way to define schema of view data like graphql, easy to maintain and develop 2. use main query and loader query to break down complex queries, and better reuse 3…

  13. story
  14. comment
    Comment #39519064

    not really, it only traversal (with resolving descendants at the same time) once from top to bottom and then back.

  15. comment
    Comment #39517560

    my fault lol. here is a step by step tutorial, building various kinds of views data you need, and keep service layer simple and clear at the same time. https://github.com/allmonday…

  16. comment
    Comment #39501109

    inspired by graphql (define schema in declaretive way) however gql itself only walks from top to bottom, which lack the ability to change data after it's descdenants are resolved. …

  17. comment
    Comment #39500566

    A powerful tool to build nested view data. based on pydantic, pydantic-resolve uses declaretive way to define and resolve (fetch) data from top to bottom and provides post-process …

  18. story
  19. comment
    Comment #39043262

    The current popular approach is to use GraphQL, but the introduction cost of the entire solution is not low for the backend. Additionally, the frontend needs to manually write quer…

  20. story
  21. story