From 22faa71a1eba4988f2309fa851fccfe105bfc446 Mon Sep 17 00:00:00 2001
From: Tobias Gross-Vogt <tgros@tugraz.at>
Date: Tue, 16 Aug 2022 12:58:45 +0200
Subject: [PATCH] core bundle update

---
 composer.json         |  2 +-
 composer.lock         | 36 ++++++++----------------------------
 src/Entity/Course.php |  2 +-
 3 files changed, 10 insertions(+), 30 deletions(-)

diff --git a/composer.json b/composer.json
index 3a0181b..6e0bde7 100644
--- a/composer.json
+++ b/composer.json
@@ -6,7 +6,7 @@
         "php": ">=7.3",
         "ext-json": "*",
         "api-platform/core": "^2.6",
-        "dbp/relay-core-bundle": "dev-main as 0.1.37",
+        "dbp/relay-core-bundle": "^0.1.38",
         "symfony/config": "^5.4",
         "symfony/framework-bundle": "^5.4",
         "symfony/security-bundle": "^5.4",
diff --git a/composer.lock b/composer.lock
index 486b5f8..dddd68e 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "6a230b56ba7f733bcfa3b81b0329f114",
+    "content-hash": "76db1d28fcb95ca8a0c51b6cf645aede",
     "packages": [
         {
             "name": "api-platform/core",
@@ -169,17 +169,11 @@
         },
         {
             "name": "dbp/relay-core-bundle",
-            "version": "dev-main",
+            "version": "v0.1.38",
             "source": {
                 "type": "git",
-                "url": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle.git",
-                "reference": "71f304347b8e970ed8d56934243a455b0bd6cfb1"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://gitlab.tugraz.at/api/v4/projects/dbp%2Frelay%2Fdbp-relay-core-bundle/repository/archive.zip?sha=71f304347b8e970ed8d56934243a455b0bd6cfb1",
-                "reference": "71f304347b8e970ed8d56934243a455b0bd6cfb1",
-                "shasum": ""
+                "url": "git@gitlab.tugraz.at:dbp/relay/dbp-relay-core-bundle.git",
+                "reference": "d4686f81efdec53c082808c1c827c3d2912dabac"
             },
             "require": {
                 "api-platform/core": "^2.6.6",
@@ -224,7 +218,6 @@
                 "symfony/phpunit-bridge": "^5.3",
                 "vimeo/psalm": "^4.4"
             },
-            "default-branch": true,
             "type": "symfony-bundle",
             "extra": {
                 "hooks": {
@@ -278,11 +271,7 @@
                 "AGPL-3.0-or-later"
             ],
             "description": "The core bundle of the Relay API gateway",
-            "support": {
-                "source": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle/-/tree/main",
-                "issues": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle/-/issues"
-            },
-            "time": "2022-08-15T02:28:21+02:00"
+            "time": "2022-08-16T08:35:41+00:00"
         },
         {
             "name": "doctrine/annotations",
@@ -10295,18 +10284,9 @@
             "time": "2015-12-17T08:42:14+00:00"
         }
     ],
-    "aliases": [
-        {
-            "package": "dbp/relay-core-bundle",
-            "version": "dev-main",
-            "alias": "0.1.37",
-            "alias_normalized": "0.1.37.0"
-        }
-    ],
+    "aliases": [],
     "minimum-stability": "stable",
-    "stability-flags": {
-        "dbp/relay-core-bundle": 20
-    },
+    "stability-flags": [],
     "prefer-stable": false,
     "prefer-lowest": false,
     "platform": {
@@ -10317,5 +10297,5 @@
     "platform-overrides": {
         "php": "7.3"
     },
-    "plugin-api-version": "2.3.0"
+    "plugin-api-version": "2.2.0"
 }
diff --git a/src/Entity/Course.php b/src/Entity/Course.php
index fcf67c5..7d2a0c5 100644
--- a/src/Entity/Course.php
+++ b/src/Entity/Course.php
@@ -22,7 +22,7 @@ use Dbp\Relay\CoreBundle\LocalData\LocalDataAwareTrait;
  *                     {"name" = "lang", "in" = "query", "description" = "Language of result", "type" = "string", "enum" = {"de", "en"}, "example" = "de"},
  *                     {"name" = "queryLocal", "in" = "query", "description" = "Local query parameters to apply", "type" = "string"},
  *                     {"name" = "includeLocal", "in" = "query", "description" = "Local data attributes to include", "type" = "string", "example" = "BaseCourse.code,BaseCourse.numberOfCredits"},
- *                     {"name" = "partialPagination", "in" = "query", "description" = "Enable partial pagination", "type" = "bool", "example" = "false"}
+ *                     {"name" = "partialPagination", "in" = "query", "description" = "Partial pagination", "type" = "bool", "example" = "false"}
  *                 }
  *             }
  *         }
-- 
GitLab