Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes while working on api #97

Merged
merged 8 commits into from
Feb 14, 2022
Merged

Fixes while working on api #97

merged 8 commits into from
Feb 14, 2022

Conversation

akeemphilbert
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Added the ability to declare a default projection (so that a custom default could be used)

  • Added the ability to set a custom projection, event store, command dispatcher per operation

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

akeemphilbert and others added 8 commits February 11, 2022 10:52
- Updated feature file
…izing the API

* Added GormProjection interface so that we can check for custom gorm projections (embedding a gorm projection was not enough to pass type check)
* Made "Config" on RESTAPI public and deprecated "AddConfig" method
* Added check for default projection before adding the default
The context middleware now parses the payload, converts it to a byte array and adds it to the context. It also ensures the header send matches what is allowed for the endpoint
# Conflicts:
#	projections/gorm.go
@atoniaw atoniaw merged commit 9a1a000 into dev Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants