isographlabs / isograph

The UI framework for teams that move fast — without breaking things.
MIT License
202 stars 9 forks source link

[refactor] WithId abstraction #50

Open rbalicki2 opened 2 months ago

rbalicki2 commented 2 months ago

ClientFields, etc. have an ID embedded in them. That isn't ideal. We should instead refactor these to be WithId<ClientFieldId, ClientFieldData>.

The same is true for all the other structs that we have.

The reason for this is that this abstraction probably needs to exist for #51