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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Is using OData\IQueryable in your Web API an inherantly bad thing?

8 点作者 roysvork将近 12 年前

1 comment

NicoJuicy将近 12 年前
I actually used OData recently and love the query syntax. I actually see the awesomeness in it. But we should wait some time untill it gets better :-) (see the following)<p>What i hate mostly about it, is when (and this is the implementation in Web API mostly): - synchronizing with XML (jSON is the standard :-( ) - no flexibility on put &#x2F; post and patch methodes (eg. dates!) - easy a nothing object ( eg. date datetype and &lt;birthDate &#x2F;&gt; --&gt; your parameter object comes in as nothing... Also, they must use the yyyy-mm-ddThh:mm:ss format - put &#x2F; post &#x2F; patch methods and a complextype (eg. Address). GRMBL!
评论 #5938645 未加载