powerhouse-inc / powerhouse

0 stars 0 forks source link

Set up Structure for the BAI team to support them with Scalar type definitions. #29

Open CallmeT-ty opened 1 week ago

CallmeT-ty commented 1 week ago

https://www.notion.so/makerdao-ses/1-Numbers-Int-Float-BigInt-NegativeInt-PositiveInt-NonNegativeInt-NonPositiveInt-NegativeF-10d1f4740a7f80cba3a4e9c08afa2305?pvs=4

on codegen there is a early package; Acaldas will forward

CallmeT-ty commented 1 week ago

Adding this message from Acaldas in Discord

In today's planning call we discussed creating a scalars package in the monorepo. It would aggregate all the custom scalars to be used in the document modelling and code generation. @memo.dev will create the package and we'll implement an example scalar. Each scalar needs:

Found this guide which should be helpful: https://the-guild.dev/blog/the-complete-graphql-scalar-guide#1-declare-custom-scalar-in-schema

CallmeT-ty commented 3 days ago

More information from Teep:

List of Scalars:

https://www.notion.so/makerdao-ses/08585389620b467bab13fe3908a41434?v=4d9d49e9e9c74b9cbc8ea80a6f2be951&p=11b1f4740a7f80ef9919e7df65739899&pm=s

Each one has 2 linked docs (the first and third column)

  1. Think of the first as sort of the public facing documentation, and the third column as the implementation details specific for Powerhouse.
  2. The feedback we need from Core Dev specifically is inside the "Product Features Board" column cards, each scalar has a GraphQL represenation and a Typescript mapping A couple of examples:

At the moment, these ones in the screenshot are all ready to be reviewed and are being worked on by design Image

And these will likely be signed off next week when Im away Image