css-blocks icon indicating copy to clipboard operation
css-blocks copied to clipboard

Conflict Resolver API Changes

Open chriseppstein opened this issue 8 years ago • 2 comments

The current resolver resolves all selectors that match the target block object in the key selector. This means that states targeting that same object get overridden too. That seemed like a good idea, but it turns out to be sub-optimal for many use cases, especially inheritance (which is a resolution abstraction)

A new syntax for resolution is documented in the readme and needs to be implemented.

https://github.com/css-blocks/css-blocks/blob/master/README.md#resolving-state-conflicts

chriseppstein avatar May 27 '17 03:05 chriseppstein

Updated link: https://github.com/css-blocks/css-blocks/blob/master/OLD_README.md#resolving-state-conflicts

@chriseppstein, whats the status of this? If theres still work to do, do you want us do hit this before public release?

amiller-gh avatar Apr 18 '18 16:04 amiller-gh

This work hasn’t happened yet. I’d like to revisit the design. It’s not going to happen before we open source it. All of our public docs should be limited to our currently supported resolution syntax.

chriseppstein avatar Apr 18 '18 18:04 chriseppstein