Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expansion depth should be stable across updates #277

Merged
merged 10 commits into from
Oct 19, 2018
Merged

Expansion depth should be stable across updates #277

merged 10 commits into from
Oct 19, 2018

Conversation

nmichaud
Copy link
Contributor

When a context has the expansion depth set, new nodes that tick in aren't automatically expanded to that depth. This PR fixes that.

@texodus texodus merged commit b9ae184 into finos:master Oct 19, 2018
@texodus
Copy link
Member

texodus commented Oct 19, 2018

Looks great, thanks for the PR!

*
*/
view.prototype.expand_to_depth = async function(depth) {
view.prototype.set_depth = async function(depth) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Given that this is a breaking change would it not be better to deprecate the old functions? (Unless they’ve not been released from master yet?)

@nmichaud nmichaud mentioned this pull request Oct 21, 2018
@nmichaud nmichaud deleted the expansion-depth branch October 27, 2018 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants