Volatile is strange, specifically in a world of templates it has a complex meaning and for this use-case a function instead of a CP would more then likely be what we want.
Other motivation is attempting roll back the concept of .volatile some the public API, as most of the time when it is required, it is the source of something else being funky.
cc @krisselden
The ds-improved-ajax feature flag (enabled in the current beta) adds a new headersForRequest method that will become the recommended way to handle this usecase. Users will be encouraged to override headersForRequest instead of declaring a .volatile computed property.
The ds-improved-ajax feature flag (enabled in the current beta) adds a new headersForRequest method that will become the recommended way to handle this usecase. Users will be encouraged to override headersForRequest instead of declaring a .volatile computed property.
Very awesome. Should we close this issue when:
Or consider it solved, and close it now?
I'm in favor of closing this when the docs have been updated to encourage the new flow.
As we never landed DS-improved-Ajax and as headers is no longer a volatile property in going to close this.
Most helpful comment
I'm in favor of closing this when the docs have been updated to encourage the new flow.