Skip to content

Also expand non-declared template parameters - #92

Closed
dblock wants to merge 1 commit into
codegram:masterfrom
dblock:template-parameters
Closed

dblock wants to merge 1 commit into
codegram:masterfrom
dblock:template-parameters

Conversation

@dblock

@dblock dblock commented Aug 15, 2015

Copy link
Copy Markdown
Collaborator

This is a behavior change around #84.

I wonder whether we want this behavior by default? Missing variables just don't get expanded and additional ones now do. If we want this behavior by default we need a way to disable it. Otherwise we need a way to enable it.

We probably also want to kill the whole templated idea. If we're going to add any parameter to the request we might as well treat all links as templated.

@dblock
dblock force-pushed the template-parameters branch from 5fc0318 to a016242 Compare August 15, 2015 21:13
@dblock dblock changed the title Template parameters Also expand non-declared template parameters Aug 15, 2015
@dblock

dblock commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #334, which adds an explicit Link#_query(params) on top of Addressable instead of changing _expand to expand undeclared variables by default.

This comment was written by an AI (Claude) acting on behalf of @dblock.

@dblock dblock closed this Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants