EC-CUBE / EC-CUBE/eccube-api4

検索条件の日付指定で秒まで指定してもエラーが出ない

Open
#99 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
9
Forks
18
PR merge metrics
No merged PRs in 30d

Description

検索条件の日付指定で時まで指定してもエラーが出ません。
例えば以下のように秒まで指定してもエラーとなりませんが、 `*_date_*` フォーマットでは日までしか指定できないので時間以下が意味をなさず、指定した日付全てが取得対象となってしまいます。

```graphql
query {
orders (page: 1, limit: 4, order_date_start:"2020-10-09 00:15:00", order_date_end:"2020-10-09 00:16:00") {
nodes {
id
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
```

紛らわしいので日付までの指定以外はエラーとなるようにしたいです。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.