Skip to content

Support custom contexts #19

@jonnydgreen

Description

@jonnydgreen

It would be great to be able to pass contexts that inherit from ParleyContext into the Parley Dialogue Sequence runner.

Note, at the moment, Action and Fact interfaces define the context type explicitly as ParleyContext. Whilst this works, it means that users are not currently able to define their own custom contexts.

Requirements

  • Support custom contexts
  • Add tests where possible
  • Add docs

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions