cloudwan / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API
http://www.slideshare.net/natiueno/gohan-61170476
Other
109 stars 44 forks source link

[ESI-16352] Fixed emitting post-migration event in Go extensions #598

Closed zimnx closed 6 years ago

zimnx commented 6 years ago

Go extension event dispatcher requires 'schema_id' field in context, to properly dispatch event to registered schema. In case when this field isn't available it dispatches to all registered handlers.

This behaviour isn't expected since we would want to dispatch migration event to schemas which were marked in migration.