-
Notifications
You must be signed in to change notification settings - Fork 114
Handle missing to-one related resource. #98
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,81 +1,83 @@ | ||
| 2015-06-29 - Initial release | ||
| 2015-07-03 - Refactoring handlers to improve readability | ||
| 2915-07-03 - Separating out route handlers into separate files | ||
| 2015-07-05 - Allow user to implement their own error logging | ||
| 2015-07-06 - Handle 404s and allow logging for uncaught exceptions | ||
| 2015-07-08 - Added additional info to relation metadata | ||
| 2015-07-11 - Code Complexity tool via npm-run-complexity | ||
| 2015-07-12 - v0.7.0 | ||
| 2015-07-12 - Split postProcessing into smaller modules | ||
| 2015-07-12 - Split out Joi modifications into separate file | ||
| 2015-07-13 - Split out documentation into more manageable chunks | ||
| 2015-07-13 - Updating dependencies to latest stable releases | ||
| 2015-07-13 - v0.8.0 | ||
| 2015-09-25 - Enabling meta blocks on Resources and Relations | ||
| 2015-09-25 - Adding cookies to Request objects | ||
| 2015-09-25 - Updating dependencies | ||
| 2015-09-25 - Enable basic authentication | ||
| 2015-09-25 - Validate attribute names | ||
| 2015-09-25 - Stricter handling of HTTP Accept headers | ||
| 2015-09-25 - Stricter handling of HTTP Content-Type headers | ||
| 2015-09-27 - Improve validation when updating a relationship | ||
| 2015-09-27 - v0.9.0 | ||
| 2015-09-27 - Always respond with absolute URLs | ||
| 2015-11-05 - v0.10.0 | ||
| 2015-11-06 - Improve resource-update validation | ||
| 2015-11-06 - v0.11.0 | ||
| 2015-11-09 - Ignore non-js routes within the example app | ||
| 2015-11-09 - Pass around headers on inclusion requests | ||
| 2015-11-09 - Creating resources gives a 201 CREATED | ||
| 2015-11-10 - Additional error handling for foreign relation lookup | ||
| 2015-11-10 - Additional error detail on 403 and 404 | ||
| 2015-11-10 - v0.12.0 | ||
| 2015-11-11 - Correctly build related URLs when using HTTPS | ||
| 2015-11-11 - v0.12.1 | ||
| 2015-11-11 - Blacklist some HTTP headers we dont want to pass onwards | ||
| 2015-11-11 - v0.12.2 | ||
| 2015-11-12 - Handlers readiness check | ||
| 2015-11-12 - v0.13.0 | ||
| 2015-11-17 - Additional error handling for foreign relation lookup | ||
| 2015-11-17 - v0.13.1 | ||
| 2015-11-17 - Handlers are now objects instead of modules | ||
| 2015-11-17 - v0.14.0 | ||
| 2015-11-18 - Rename MockHandler to MemoryHandler | ||
| 2015-11-18 - v0.15.0 | ||
| 2015-11-18 - Updated documentation | ||
| 2015-11-18 - v0.15.1 | ||
| 2015-11-19 - Validate filter params before handing over to resourceHandler.search | ||
| 2015-11-19 - v0.15.2 | ||
| 2015-11-25 - Automatic Swagger Generation | ||
| 2015-11-25 - Debugging functionality | ||
| 2015-11-25 - Validation around handlers behaviour | ||
| 2015-11-25 - v0.16.0 | ||
| 2015-12-03 - Top level jsonapi blocks | ||
| 2015-12-05 - Tooling improvements | ||
| 2015-12-07 - Efficient inclusions | ||
| 2015-12-08 - Pagination support | ||
| 2015-12-10 - CPU profiling | ||
| 2015-12-10 - Move to lodash | ||
| 2015-12-10 - Use filter[] instead of relationships[] | ||
| 2015-12-10 - Inclusion bug fixes | ||
| 2015-12-10 - v1.0.0 | ||
| 2015-12-10 - Correcting v8-profiler dependency | ||
| 2015-12-10 - v1.0.1 | ||
| 2015-12-11 - Test harness improvements | ||
| 2015-12-11 - v1.0.2 | ||
| 2015-12-17 - Don't pass on content-length HTTP headers on inclusion requests | ||
| 2015-12-17 - Filter won't match undefined properties anymore | ||
| 2015-12-17 - v1.0.3 | ||
| 2015-12-30 - Enable path-less API | ||
| 2015-12-30 - v1.0.4 | ||
| 2015-12-31 - Set Location header correctly when creating resources | ||
| 2015-12-31 - v1.0.5 | ||
| 2015-01-11 - Big documentation improvements | ||
| 2015-01-11 - Sanitise input + output with Joi | ||
| 2015-01-11 - Updating dependencies | ||
| 2015-01-11 - Error hard and fast when incorrectly defining foreign relations | ||
| 2015-01-11 - v1.1.0 | ||
| 2015-01-21 - Set better default CORS headers | ||
| 2015-01-21 - v1.2.0 | ||
| 2015-01-25 - Aggressive cache-expiry headers by default | ||
| 2015-01-25 - v1.3.0 | ||
| - 2016-02-10 - v1.3.1 | ||
| - 2016-02-10 - Correctly handle missing to-one related resources | ||
| - 2016-01-25 - v1.3.0 | ||
| - 2016-01-25 - Aggressive cache-expiry headers by default | ||
| - 2016-01-21 - v1.2.0 | ||
| - 2016-01-21 - Set better default CORS headers | ||
| - 2016-01-11 - v1.1.0 | ||
| - 2016-01-11 - Error hard and fast when incorrectly defining foreign relations | ||
| - 2016-01-11 - Updating dependencies | ||
| - 2016-01-11 - Sanitise input + output with Joi | ||
| - 2016-01-11 - Big documentation improvements | ||
| - 2015-12-31 - v1.0.5 | ||
| - 2015-12-31 - Set Location header correctly when creating resources | ||
| - 2015-12-30 - v1.0.4 | ||
| - 2015-12-30 - Enable path-less API | ||
| - 2015-12-17 - v1.0.3 | ||
| - 2015-12-17 - Filter won't match undefined properties anymore | ||
| - 2015-12-17 - Don't pass on content-length HTTP headers on inclusion requests | ||
| - 2015-12-11 - v1.0.2 | ||
| - 2015-12-11 - Test harness improvements | ||
| - 2015-12-10 - v1.0.1 | ||
| - 2015-12-10 - Correcting v8-profiler dependency | ||
| - 2015-12-10 - v1.0.0 | ||
| - 2015-12-10 - Inclusion bug fixes | ||
| - 2015-12-10 - Use filter[] instead of relationships[] | ||
| - 2015-12-10 - Move to lodash | ||
| - 2015-12-10 - CPU profiling | ||
| - 2015-12-08 - Pagination support | ||
| - 2015-12-07 - Efficient inclusions | ||
| - 2015-12-05 - Tooling improvements | ||
| - 2015-12-03 - Top level jsonapi blocks | ||
| - 2015-11-25 - v0.16.0 | ||
| - 2015-11-25 - Validation around handlers behaviour | ||
| - 2015-11-25 - Debugging functionality | ||
| - 2015-11-25 - Automatic Swagger Generation | ||
| - 2015-11-19 - v0.15.2 | ||
| - 2015-11-19 - Validate filter params before handing over to resourceHandler.search | ||
| - 2015-11-18 - v0.15.1 | ||
| - 2015-11-18 - Updated documentation | ||
| - 2015-11-18 - v0.15.0 | ||
| - 2015-11-18 - Rename MockHandler to MemoryHandler | ||
| - 2015-11-17 - v0.14.0 | ||
| - 2015-11-17 - Handlers are now objects instead of modules | ||
| - 2015-11-17 - v0.13.1 | ||
| - 2015-11-17 - Additional error handling for foreign relation lookup | ||
| - 2015-11-12 - v0.13.0 | ||
| - 2015-11-12 - Handlers readiness check | ||
| - 2015-11-11 - v0.12.2 | ||
| - 2015-11-11 - Blacklist some HTTP headers we dont want to pass onwards | ||
| - 2015-11-11 - v0.12.1 | ||
| - 2015-11-11 - Correctly build related URLs when using HTTPS | ||
| - 2015-11-10 - v0.12.0 | ||
| - 2015-11-10 - Additional error detail on 403 and 404 | ||
| - 2015-11-10 - Additional error handling for foreign relation lookup | ||
| - 2015-11-09 - Creating resources gives a 201 CREATED | ||
| - 2015-11-09 - Pass around headers on inclusion requests | ||
| - 2015-11-09 - Ignore non-js routes within the example app | ||
| - 2015-11-06 - v0.11.0 | ||
| - 2015-11-06 - Improve resource-update validation | ||
| - 2015-11-05 - v0.10.0 | ||
| - 2015-09-27 - Always respond with absolute URLs | ||
| - 2015-09-27 - v0.9.0 | ||
| - 2015-09-27 - Improve validation when updating a relationship | ||
| - 2015-09-25 - Stricter handling of HTTP Content-Type headers | ||
| - 2015-09-25 - Stricter handling of HTTP Accept headers | ||
| - 2015-09-25 - Validate attribute names | ||
| - 2015-09-25 - Enable basic authentication | ||
| - 2015-09-25 - Updating dependencies | ||
| - 2015-09-25 - Adding cookies to Request objects | ||
| - 2015-09-25 - Enabling meta blocks on Resources and Relations | ||
| - 2015-07-13 - v0.8.0 | ||
| - 2015-07-13 - Updating dependencies to latest stable releases | ||
| - 2015-07-13 - Split out documentation into more manageable chunks | ||
| - 2015-07-12 - Split out Joi modifications into separate file | ||
| - 2015-07-12 - Split postProcessing into smaller modules | ||
| - 2015-07-12 - v0.7.0 | ||
| - 2015-07-11 - Code Complexity tool via npm-run-complexity | ||
| - 2015-07-08 - Added additional info to relation metadata | ||
| - 2015-07-06 - Handle 404s and allow logging for uncaught exceptions | ||
| - 2015-07-05 - Allow user to implement their own error logging | ||
| - 2015-07-03 - Separating out route handlers into separate files | ||
| - 2015-07-03 - Refactoring handlers to improve readability | ||
| - 2015-06-29 - Initial release | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work sorting these!