Skip to content

Addressing Issue #3988 - Customizable Decorator conflicting with Static class Functions#4208

Merged
dzearing merged 4 commits intomicrosoft:masterfrom
oengusmacinog-zz:customizable-hoisting
Mar 8, 2018
Merged

Addressing Issue #3988 - Customizable Decorator conflicting with Static class Functions#4208
dzearing merged 4 commits intomicrosoft:masterfrom
oengusmacinog-zz:customizable-hoisting

Conversation

@oengusmacinog-zz
Copy link
Copy Markdown
Collaborator

@oengusmacinog-zz oengusmacinog-zz commented Mar 7, 2018

Pull request checklist

Description of changes

Added a function to the @Customizable decorator to hoist static methods.

Static methods did not work when both Layer and Image were converted to MergeStyles, and the decorator was taken out. Hoisting static methods solves this, so I have reapplied the @Customizable decorator to both ImageBase and LayerBase so theming will function properly.

@dzearing dzearing merged commit 61c7a05 into microsoft:master Mar 8, 2018
@oengusmacinog-zz oengusmacinog-zz deleted the customizable-hoisting branch March 8, 2018 01:10
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Customizable Decorator conflicting with Static class Functions

3 participants