Draft
Conversation
| @@ -0,0 +1,12 @@ | |||
| import type Application from '@ember/application'; | |||
|
|
|||
| export function setupInspectorSupport(app: Application) { | |||
Implements the public inspector API as outlined in emberjs/ember-inspector#2723. This provides a stable, high-level interface for the Ember Inspector to access Ember internals without depending on private APIs. The API includes: - debug: captureRenderTree, inspect, registerDeprecationHandler - environment: getEnv, VERSION - instrumentation: subscribe, unsubscribe - objectInternals: cacheFor, guidFor, meta, get, set - owner: getOwner, lookup, factoryFor, hasRegistration, getContainerInstances - libraries: getRegistry - typeChecking: isEmberObject, isComponent, isGlimmerComponent, isService, etc. - naming: getClassName (resolves Ember class/mixin names) - tracking: createPropertyTracker, hasPropertyChanged, getPropertyDependencies, etc. - computed: isComputed, getComputedMetadata, isMandatorySetter, isCached - renderTree: getDebugRenderTree - runloop: getBackburner, join, debounce, cancel
…/isCached - Add infoForTag export and tracked-utils to @glimmer/validator - Export MonomorphicTagImpl and add meta property for tag introspection - Update tagFor() to attach metadata (propertyKey, object) to tags - Implement infoForTag() to retrieve tag metadata - Add MANDATORY_SETTER_SYMBOL for efficient mandatory setter detection - Add CACHED_GETTER_SYMBOL for efficient @cached decorator detection - Replace string matching with symbol checks in isMandatorySetter and isCached - Improves performance and reliability by avoiding Function.toString() calls
de8f060 to
36e780f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.