TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Use GraphQL to Query Exchange, AAD, OneDrive and More

22 点作者 dpim超过 7 年前

4 条评论

dpim超过 7 年前
I built this demo during Microsoft&#x27;s internal hackathon, Oneweek, to show what GraphQL querying of the Microsoft Graph API could look like. While not all GraphQL functionality is currently implemented (namely support for pagination, data mutations), I think it&#x27;s quite cool to be able to request resources from different services in a single request (eg. fetching my recent emails, OneDrive files, users in my org). The gist of how this works: the tooling translates an OData schema into a GraphQL schema and code generates resolvers for each field.<p>Here is the repo if you&#x27;d like to self-host the service: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoftgraph&#x2F;msgraphql-demo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoftgraph&#x2F;msgraphql-demo</a><p>We&#x27;re interested in your feedback about integrating with Microsoft Graph using GraphQL. To share your thoughts and scenarios, please leave a comment on UserVoice: <a href="https:&#x2F;&#x2F;officespdev.uservoice.com&#x2F;forums&#x2F;224641-feature-requests-and-feedback&#x2F;suggestions&#x2F;16819672-graphql-api-for-the-microsoft-graph" rel="nofollow">https:&#x2F;&#x2F;officespdev.uservoice.com&#x2F;forums&#x2F;224641-feature-requ...</a><p>I&#x27;m happy to answer questions about Microsoft Graph or the implementation of this project.
peternicky超过 7 年前
Cool, however, to realize the full benefits of GraphQL, proper resolvers need to be implemented that are connected directly to a data store. This is just a wrapper around a conventional REST endpoint, which allows for easier querying but not much else (when considering the trade offs).
评论 #15308987 未加载
PaulHoule超过 7 年前
Got documentation for this?
评论 #15304240 未加载
Hongbo-Miao超过 7 年前
Looks awesome!