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

Feature/weos 1135 - As a user I should be able to see the details of a specific item #68

Merged
merged 10 commits into from
Jan 29, 2022

Conversation

atoniaw
Copy link
Contributor

@atoniaw atoniaw commented Jan 28, 2022

  • 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, ...)

  • 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)?

  • 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 January 27, 2022 13:52
* Added more unit tests for view controller
* Improved existing tests to check for calls on mock objects
* Made sequence no. a parameter that is parsed by default (without the developer having to declare it as a parameter)
* Added scenarios to the view feature file to cover getting an item with a sequence no with and without the item id
* Removed deprecation mark on GetByAggregateAndSequenceRange
# Conflicts:
#	controllers/rest/controller_standard.go
* Working on fixing issues with BDD test
* Fixed issue where a nil payload broke things
# Conflicts:
#	end2end_test.go
* Added test for getting entity by id to improve code coverage
* Fix issue where the flags were not being added to context
* Removed having sequence_no and use_entity_id by default
* added sequence_no and use_entity_id to the path parameters in the blog fixture used in testing
akeemphilbert
akeemphilbert previously approved these changes Jan 28, 2022
* Make it so that invalid sequence no. returns a bad request
* Fix for if the id is an integer and not a string when attempting to use as entity id
Aidan-E
Aidan-E previously approved these changes Jan 28, 2022
* Switched to getting the events in the controller by using the event repository
* Added method to ContentEntity that returns the entity as an interface map whose keys are what was set in the OpenAPI spec
* Added constructor for ContentEnty to create with schema and events
* Added method to Content entity to convert the name of property in dynamic struct back that what was set in the OpenAPI spec
@akeemphilbert
Copy link
Contributor

This is to get the latest working version of weos 1135

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