litentry / litentry-graph

A GraphQL Server providing aggregated blockchain identity data
Apache License 2.0
7 stars 0 forks source link

Refactor treasury proposal types #216

Closed ishrak-imam closed 2 years ago

ishrak-imam commented 2 years ago

With further discussions from here https://github.com/litentry/litentry-graph/pull/211

Decided to keeps the different proposal types separate for now and we can revisit this topic later once we start fetching all types of proposals from Polkassembly.

~Introduced a union type now to make it easy in the clients to create generic components.~

Only refactored the treasury proposal types a little bit to make it aligned with the other proposal types.

However this introduces a small breaking change for the app. We have to deploy the app carefully.