graycoreio / daffodil

Angular Ecommerce PWA Framework
https://next.daff.io
MIT License
155 stars 28 forks source link

[FEAT] Injectable driver fragments #2690

Open griest024 opened 8 months ago

griest024 commented 8 months ago

:bulb: Feature request

Feature Name

Injectable driver fragments

The Desired Behavior

I want all graphql drivers to support custom user fragments.

Your Use Case

As an app dev, I would like to request custom data from the backend.

Prior Work

Cart and product already do this. The root level entity should at least support this, adding additional injection points is up to the specific driver.

griest024 commented 8 months ago

2689 and this can possibly be combined into a larger feature for additional reduction of boilerplate and stronger opinions. Should every entity that supports injectable fragments also have injectable transforms and vice versa?