Comments

dasjo’s picture

Priority: Critical » Normal
fago’s picture

Status: Active » Needs work

I've started working on a context system based on the core context interface, see https://github.com/fago/rules/tree/feature/context

WIP

fago’s picture

here are some first classes https://github.com/fago/rules/tree/feature/context/src/Context, right now it extends most core classes and interfaces related to context. It's mostly compatible to core interfaces right now, as it mostly overrides @return and @throws documentation.

I'll work now on a rules condition base class and a prototype on how this context system could be used.

fago’s picture

Status: Needs work » Needs review

Here is a first working PR, having a ContextDefinition class + interface and a new RulesConditionbase: https://github.com/fago/rules/pull/27

fago’s picture

Status: Needs review » Needs work

Merged that PR, context mapping and adding a RulesContextDefinitonInterface + class for Rules specific stuff is next.

  • Commit c8aa15b on 8.x-3.x by fago:
    Merge pull request #27 from fago/feature/context
    
    Issue #2245049: Added...
klausi’s picture

Status: Needs work » Fixed

I think this is fixed now, we have basic context mapping and paramter configuration.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.