C++ GraphQL Service Bindings for MAPI
Перейти к файлу
Bill Avery (from Dev Box) afe31b9af0 Update to microsoft/MAPIStubLibrary dependency 2024-02-22 15:57:15 -08:00
.github/workflows Adopt vcpkg binary caching from cppgraphqlgen 2023-08-30 15:36:35 -07:00
mapistub Update to microsoft/MAPIStubLibrary dependency 2024-02-22 15:57:15 -08:00
schema Re-generate the schema with cppgraphqlgen v4.5.2 2023-05-12 10:52:48 -07:00
src Keep the interface dependency unless consumer opted out 2023-09-08 14:47:31 -07:00
test Decouple cppgraphqlgen::graphqljson from gqlmapi 2023-09-08 14:31:35 -07:00
.clang-format Initial commit on GitHub 2021-01-23 16:25:08 -08:00
.gitignore Initial commit on GitHub 2021-01-23 16:25:08 -08:00
CMakeLists.txt Update to cppgraphqlgen v4.5.0 2022-05-25 13:39:39 -07:00
CMakeSettings.json Keep the interface dependency unless consumer opted out 2023-09-08 14:47:31 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2021-01-23 15:47:48 -08:00
LICENSE Initial LICENSE commit 2021-01-23 15:47:52 -08:00
README.md Match markdown from vcpkg README 2021-01-25 14:25:08 -08:00
SECURITY.md Initial SECURITY.md commit 2021-01-23 15:47:51 -08:00
SUPPORT.md Fill in placeholder documents 2021-01-24 20:20:10 -08:00
vcpkg.json Update the vcpkg.json baseline commit for latest cppgraphqlgen 2024-02-22 15:54:51 -08:00

README.md

GqlMAPI

This project contains a library built with CppGraphQLGen which binds a GraphQL schema to MAPI.

The main purpose of this project is to demonstrate building a non-trivial C++ GraphQL service with CppGraphQLGen. It may also be useful in diagnostic and debugging tools for Microsoft Outlook. This library is not officially supported by Microsoft, but MAPI itself is still supported as a backwards compatible integration API for Microsoft Outlook.

Getting Started

You will need a Windows computer with a working installation of Microsoft Outlook for Windows, since that is how MAPI is installed. You can use any C++ compiler toolchain which fully supports C++17 on Windows, I recommend Visual Studio 2019 or Visual Studio Code with the CMake Tools and C/C++ extensions from Microsoft.

The build system uses CMake. If you are using Visual Studio 2019, it comes with a supported version of CMake (>= 3.17.1) pre-installed. You can also install CMake separately and then use it with another editor like Visual Studio Code or Vim.

You will also need to install CppGraphQLGen and GoogleTest separately to satisfy the CMake dependencies. The easiest way to do that is to use Vcpkg. See the Quick Start: Windows section of the Vcpkg README for more details.

Once you have Vcpkg installed and CMake is configured to use it, install the dependencies with a command like this:

> .\vcpkg\vcpkg install --triplet=x64-windows cppgraphqlgen gtest

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.