-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ✨ add examples
directory with .gitmodules
#285
base: main
Are you sure you want to change the base?
Conversation
|
|
@peelar in general I like the idea, but I don't like that coupling SDK depends on app-template, that contains SDK usage, on app-template branches, to mention this in SDK repo. I think we should somehow move app-template code from app-template to app-sdk and keep them entirely here. Maybe submodules, maybe not, just I'd not decouple them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please figure out decoupling from app-template repo
@peelar please hand over to @saleor/dex team |
@saleor/dex
We see that the issue with moving App Examples into SDK is that it is a bit awkward for CLI to consume bits of App SDK to spawn app templates. But maybe we should think of creating more domain-specific (like payments, taxes) app templates? So this is our context. We are handing it over to you, but let's coordinate the fate of the app-examples repo together. |
Do we even need app-sdk examples if apps are open source already? |
IMO yes but if DX team decides not to have them, we can remove them. I don't think apps are good examples because apps are complex and contain a lot of logic that hides what comes from SDK. Examples are just barebones app-template + app-sdk method applied on top. Very visible. If we don't want to have examples to maintain, we should probably add more docs with examples written as snippets. Or - a code sandbox? |
Gotcha, we'll discuss this internally |
saleor/app-examples#11