mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
9a6cb644f1
<!-- Thank you for submitting this PR! :) --> ## Description Fix a bug which was causing an internal error when `null` was returned by NDC for a field of array or object type. ### Product _(Select all products this will be available in)_ - [x] community-edition - [x] cloud <!-- product : end : DO NOT REMOVE --> ### Type <!-- See changelog structure: https://github.com/hasura/graphql-engine-mono/wiki/Changelog-Guide#structure-of-our-changelog --> _(Select only one. In case of multiple, choose the most appropriate)_ - [ ] highlight - [ ] enhancement - [x] bugfix - [ ] behaviour-change - [ ] performance-enhancement - [ ] security-fix <!-- type : end : DO NOT REMOVE --> ### Changelog entry <!-- - Add a user understandable changelog entry - Include all details needed to understand the change. Try including links to docs or issues if relevant - For Highlights start with a H4 heading (#### <entry title>) - Get the changelog entry reviewed by your team --> Fix a bug which was causing an internal error when `null` was returned by NDC for a field of array or object type. <!-- changelog-entry : end : DO NOT REMOVE --> <!-- changelog : end : DO NOT REMOVE --> V3_GIT_ORIGIN_REV_ID: 5c935ccd6720b5e5966dfa87c2e21dbb7a2b36f2
3 lines
1.2 KiB
JSON
3 lines
1.2 KiB
JSON
{ "id": 1, "name": "Queen Mary University of London", "location": { "city": "London", "country": "UK", "campuses": ["Mile End", "Whitechapel", "Charterhouse Square", "West Smithfield"] }, "staff": [ { "first_name": "Peter", "last_name": "Landin", "specialities": ["Computer Science", "Education"], "favourite_artist_id": 1 } ], "departments": ["Humanities and Social Sciences", "Science and Engineering", "Medicine and Dentistry"] }
|
|
{ "id": 2, "name": "Chalmers University of Technology", "location": { "city": "Gothenburg", "country": "Sweden", "campuses": ["Johanneberg", "Lindholmen"] }, "staff": [ { "first_name": "John", "last_name": "Hughes", "specialities": ["Computer Science", "Functional Programming", "Software Testing"], "favourite_artist_id": 2 }, { "first_name": "Koen", "last_name": "Claessen", "specialities": ["Computer Science", "Functional Programming", "Automated Reasoning"], "favourite_artist_id": 3 } ], "departments": ["Architecture and Civil Engineering", "Computer Science and Engineering", "Electrical Engineering", "Physics", "Industrial and Materials Science"] }
|
|
{ "id": 3, "name": "University of Nowhere", "location": null, "staff": null, "departments": ["nothing", null]} |