This repository contains a sample for our UI5Con 2024 session "GraphQL and sap.ui.mdc: A Powerful Team for Metadata-Driven Apps", demonstrating the synergies between GraphQL via Apollo Server/Client and MDC. See the slides for more information.
You'll need to have Yarn installed in order to install the whole setup.
yarn
yarn start
Afterwards you can access the app on localhost:8080.
To give a little orientation of what happens where:
- Component: Creates the Apollo Client
- ApolloController: Sets up the UI5/GQL integration with JSONModel
- GQLPropertyInfo: Retrieves and maps the GQL schema to MDC PropertyInfo