-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
Advance RFC #0724 "Official TypeScript Support"
to Stage Recommended
#952
base: master
Are you sure you want to change the base?
Conversation
Even though official stable types in |
I've started a PR to the Guides for basic TS documentation. WIP PR here: ember-learn/guides-source#1960 |
This is intentional because the ember-source stable types do not currently work with the ember-data types yet. The guides section will explain this and we are working toward getting ember-data types working with ember-source stable types ASAP. |
Latest update here: people are working through the issues for the ember-data types. That is the remaining blocker to enable this feature in the default blueprint. |
TypeScript chapter for the Ember Guides: |
Status update during rfc review: people are actively working on the ember-data types, probably going to re-use the strategy ember-source has been using. |
|
The ember-data separate type packages have shipped and there is now a guide. There is work to do to integrate these new types with the main emberjs guides. |
Status notes:
|
Open question for Ember Data types: (from @runspired) What is acceptable to reach stable? Do we need to reduce the surface area of files to match the JS Files that are shipping for it to be official? Possible option is "dts buddy". Krystan and Peter: Not necessary for official? Runspired: What about types that they shouldn't have access to? Ed: Internal structure leaking is a problem. There are hacks in the addon authoring blueprint to avoid these references. Peter: Good point on imports, probably needs to be resolved. Ed: Ember doesn't roll up Verdict: need a solution |
The guides already have a "Zoe says" box pointing to the blog post that has instructions to use the native types, explaining the caveat that they're not default because ember-data users can't use them yet. Maybe we can update that info to also point to the ember-data unstable types? |
PR to point Guides users to the EmberData alpha types in conjunction with the Ember native types: ember-learn/guides-source#2036 (now merged). |
We think it's time to PR the blueprints in ember-cli to replace the definitely-typed packages, since even including unstable ember-data types is going to be a better experience. |
There were concerns about the lack of type-rollup meaning that internal paths would be usable in apps. We think it would be sufficient to document that types including (for example) |
Advance #724 to the Recommended Stage
Summary
This pull request is advancing the RFC to the Recommended Stage.
An FCP is required before merging this PR to advance.
Recommended Stage Summary
The "Recommended" stage is the final milestone for an RFC. It provides a signal to the wider community to indicate that a feature has been put through its ecosystem paces and is ready to use.
To reach the "Recommended" stage, the following should be true:
If appropriate, the feature is integrated into the tutorial and the guides prose. API documentation is polished and updates are carried through to other areas of API docs that may not directly pertain to the feature.
If the proposal replaces an existing feature, the addon ecosystem has largely updated to work with both old and new features.
If the proposal updates or replaces an existing feature, high-quality codemods are available.
If needed, Ember debugging tools as well as popular IDE support have been updated to support the feature.
If the feature is part of a suite of features that were designed to work together for best ergonomics, the other features are also ready to be "Recommended".
Any criteria for "Recommended" for this proposal that were established in the Ready For Release stage have been met.
An FCP is required to enter this stage. Multiple RFCs may be moved as a batch into "Recommended" with the same PR.
Checklist to move to Recommended
Final Comment Period
label has been added to start the FCP.Criteria for moving to Recommended (required)
<-- Copy and paste the criteria for "Recommended" from the Ready For Release stage here -->
A set of criteria for moving this RFC to the Recommended Stage, following release: