ember-cli / rfcs

Archive of RFCs for changes to ember-cli (for current RFC repo see https://github.com/emberjs/rfcs)
45 stars 54 forks source link

Promote buildInstrumentation to public API #91

Closed hjdivad closed 7 years ago

hjdivad commented 7 years ago

rendered

hjdivad commented 7 years ago

Need to revise a couple things after feedback from @rwjblue

stefanpenner commented 7 years ago

👍 (but I am biased, as being one of the implementors :P)

hjdivad commented 7 years ago

@stefanpenner nice, now if we can get @rwjblue to 👍 we'll have complete bias coverage.

hjdivad commented 7 years ago

Updated per feedback.

hjdivad commented 7 years ago

@rwjblue @stefanpenner in particular interested in feedback re: API changes tree -> DAG

hjdivad commented 7 years ago

Should we allow enabling a subset of the instrumentation, without enabling others? For example, should it be possible to turn on init instrumentation without enabling the others? I don't feel very strongly either way, so I suppose we should probably just leave it as "all on" or "all off" until we have a need for that functionality?

I agree. Let's leave it all or nothing until someone actually has a need for more fine-grained control.

hjdivad commented 7 years ago

The usage of adjacentIterator seems odd to me. Per the glossary of graph theory terms "adjacent" means:

I think we came to a consensus about this out of band right?

rwjblue commented 7 years ago

Yes, we definitely did. I just needed some help thinking things through.

Basically, adjacent nodes are direct parent/children (I had misinterpreted the use of edge in the snippet above).

nathanhammond commented 7 years ago

After discussion in today's Ember CLI team meeting we're moving this RFC to FCP. Over the following week please provide your last detailed review to make sure that you're on board with the direction of this new API inside of Ember CLI. Barring significant concerns that result in non-superficial changes to this RFC we intend to land it following the next Ember CLI team meeting one week from today.

Thanks everybody for your work thus far! We're excited to have this new API.