FlipsideCrypto / badger

EVM primitive, protocol and app layer that exposes top-down management mechanisms for on-chain organizations. Badger is the key to the existing gates and locks within Web3.
https://www.trybadger.com/
MIT License
22 stars 1 forks source link

Fix: Front-End API Integration #133

Closed nftchance closed 1 year ago

nftchance commented 1 year ago

Right now, the API integration on the front end is setup incorrectly, resulting in stale data overwriting newer data. Additionally, due to the existing setup, if an organization has 5,000 members, it will expect all 5,000 members to be posted.

Most importantly, though, due to this current setup, balances cannot synchronously be tracked.

masonchain commented 1 year ago

I had this stale data on the front end concern before we launched the site. Is removing and adding M2M relationships (User from Badge users) possible with the current model/serializer methods? If so I could not figure it out when implementing (just checked and that was less than 3 weeks ago holy)

nftchance commented 1 year ago

(just checked and that was less than 3 weeks ago holy)

o.m.g.

To all these questions, no. Will require a significant refactor, but will be nice and breezy been marinating for a week now.