Skip to content

A library that creates a bridge between API Platform and Event Engine.

Notifications You must be signed in to change notification settings

arnedesmedt/api-platform-event-engine-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-platform-event-engine-bundle

A library that creates a bridge between API Platform and Event Engine.

The configuration is not that generic. So feel free to fork this repository and make it generic or change things for your own needs.

Setup aggregates

  • Aggregate needs to implement the AggregateRoot interface
  • State needs to implement the ChangeApiResource (ChangeApiResourceByNamespace trait can be used), JsonSchemaAwareRecord (JsonSchemaAwareRecordLogic trait can be used).

Setup messages

  • Command needs to implement JsonSchemaAwareRecord (JsonSchemaAwareRecordLogic trait can be used), AggregateCommand (CommandNameAsAggregateMethod trait can be used).

Map api platform calls with event engine commands or queries

Based on:

  • Entity
  • Operation type
  • Operation name

About

A library that creates a bridge between API Platform and Event Engine.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages