rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

Query Params as derived data

Open NullVoxPopuli opened this issue 3 years ago • 4 comments

rendered

This RFC is part of a series of RFCs to lead to the deprecation of controllers entirely. For more about how I imagine that happening, let's talk on Discord / keep the RFCs themselves focused on the topic they're about.

Related RFCs:

  • Arbitrary Query Params

    • would affect the proposed Ember Guides changes mentioned in this (#712) RFC, in that, all mentions of controllers would be removed (after both #712 and #715, an app can opt out of controllers entirely)
    • #712 and #715 are closely related
  • An Alternative to Controllers

    • explores some ideas that are similar to what have been discussed recently with template-imports in the #st-template-imports channel in discord
    • needs a good amount of revisions

NullVoxPopuli avatar Jan 26 '21 19:01 NullVoxPopuli

I've quickly read (maybe too quick), but I can't see what happen to the { scope: 'controller' } thing.

sly7-7 avatar Mar 15 '21 00:03 sly7-7

I've quickly read (maybe too quick), but I can't see what happen to the { scope: 'controller' } thing.

the setting doesn't affect the derived data patterns -- here is an example: https://ember-twiddle.com/567b7acf47448cee1f63fcb36e82cd66?openFiles=controllers.articles%5C.js%2C

NullVoxPopuli avatar Mar 15 '21 02:03 NullVoxPopuli

@NullVoxPopuli is this just waiting on core review?

wagenet avatar Jul 23 '22 23:07 wagenet

yup

NullVoxPopuli avatar Jul 23 '22 23:07 NullVoxPopuli

Thanks for spending the time writing this RFC! Given the significant number of concerns around routing, we’re going to be completely revamping the router as part of Polaris. This RFC won’t directly apply to the new router so we’re going to move this PR to FCP to Close. But don’t worry, your work here was not in vain! We will be keeping track of this RFC and others like it to make sure that the concerns it aims to address will be covered in the new router. Your work here does a significant service to us in this regard!

wagenet avatar Dec 06 '22 23:12 wagenet