Skip to content

RFC to allow setting dynamic query params in Controllers#922

Closed
bachvo wants to merge 5 commits intoemberjs:masterfrom
bachvo:bcvo/dynamic-query-params
Closed

RFC to allow setting dynamic query params in Controllers#922
bachvo wants to merge 5 commits intoemberjs:masterfrom
bachvo:bcvo/dynamic-query-params

Conversation

@bachvo
Copy link
Contributor

@bachvo bachvo commented Apr 1, 2023

RFC to allow setting dynamic query params in Controllers

Rendered

@github-actions github-actions bot added the S-Proposed In the Proposed Stage label Apr 1, 2023
@bachvo bachvo changed the title RFC to allow setting dynamic query params in Controllers RFC #900 to allow setting dynamic query params in Controllers Apr 1, 2023
@bachvo bachvo changed the title RFC #900 to allow setting dynamic query params in Controllers RFC to allow setting dynamic query params in Controllers Apr 1, 2023

```js
// route/complex/filter-bar.js
setupController(controller, model) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use any API at all?

#715

Could be enabled via optional-feature.json?

Personally, i'd like complexity removed from routes and controllers<3

Copy link
Contributor Author

@bachvo bachvo Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes that would be even better :)

Query params should just be available and maintained (unless explicitly removed) for all transitions, like how a vanilla web page links to other pages with query params

@achambers achambers added the FCP to close The core-team that owns this RFC has moved that this RFC be closed. label Sep 1, 2023
@achambers
Copy link
Contributor

Added "FCP to close" in light of the new router work that's ongoing.

@ef4 ef4 closed this Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FCP to close The core-team that owns this RFC has moved that this RFC be closed. S-Proposed In the Proposed Stage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants