-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(cli): improve file structure for generated datasources (json/ts) #4060
Conversation
My response to #4051 (review): Two options are proposes so far:
I see a 3rd option:
|
I'm proposing to rename |
0d7bcdf
to
aac5a02
Compare
aac5a02
to
d3081fe
Compare
@bajtos Please review. |
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.
LGTM.
Does it consider as a breaking change?
Also, we probably need to update the loopback4-example-shopping
accordingly. Thanks.
@dhmlau See loopbackio/loopback4-example-shopping#365. I don't see it as a breaking change as existing code continues to import from |
👍
I was thinking about |
I don't consider this as a breaking change for the reasons explained by @raymondfeng above. However, I think we need to clearly communicate this change and explain our users how is it affecting their exiting projects, what is the migration path and how urgent the upgrade is. I think a short blog post (independent of our milestone blog) would be ideal. |
updated datasource config json for Typescript 3.7 support as per comment at loopbackio/loopback-next#4060 (comment) Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
Improve file structure for datasources - extracted from #4051
Triggered by microsoft/TypeScript#34761
See #4051 (review)
Checklist
👉 Read and sign the CLA (Contributor License Agreement) 👈
npm test
passes on your machinepackages/cli
were updatedexamples/*
were updated👉 Check out how to submit a PR 👈