[koha-commits] main Koha release repository branch master updated. v19.11.00-235-g4dff910
Git repo owner
gitmaster at git.koha-community.org
Wed Jan 8 16:37:16 CET 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 4dff91004e8275f8d392340e95b3d05006d5770e (commit)
from 954c742cc63d569cdba06325904a88097c4cc2ba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4dff91004e8275f8d392340e95b3d05006d5770e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Dec 23 10:26:04 2019 -0300
Bug 24302: Add a way to specify nested objects to embed in OpenAPI
This patch introduces a helper for handling x-koha-embed headers on API
requests. It reads the embed definitions and adds them to the stash for
later use (either manually on the controllers, or in the objects.search
helper.
x-koha-embed needs to be defined as a list on the OpenAPI spec.
It throws an exception when invalid combinations are found.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/Koha/REST/Plugin/Query.t
=> SUCCESS: Tests pass!
3.Sign off :-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/REST/Plugin/Query.pm | 88 +++++++++++++++++++++++++++++++++++++++++++
t/Koha/REST/Plugin/Query.t | 89 +++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 176 insertions(+), 1 deletion(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list