flow-playground icon indicating copy to clipboard operation
flow-playground copied to clipboard

[Refactor] ProjectProvider

Open neil-ptr opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. This feature is related to the recent playground issues and is a preliminary step in identifying the causes of the playground issues

Describe the solution you'd like Refactor GraphQL CRUD functions (such as updateProject see: https://github.com/onflow/flow-playground/blob/staging/src/providers/Project/index.tsx#L139) out of ProjectProvider into separate CRUD services (maybe something like AccountsService, TransactionsService). This is to help improve SRP and testability.

neil-ptr avatar Aug 02 '22 21:08 neil-ptr