Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] GraphQLでDateTimeを取得するとエラーとなる #4488

Closed
okazy opened this issue Mar 17, 2020 · 1 comment
Closed

[API] GraphQLでDateTimeを取得するとエラーとなる #4488

okazy opened this issue Mar 17, 2020 · 1 comment
Milestone

Comments

@okazy
Copy link
Contributor

okazy commented Mar 17, 2020

概要(Overview)

APIにてGraphQLでDateTimeを取得するとエラーとなる

期待する内容(Expect) or 要望 (Requirement)

DateTimeが取得できる。フォーマットなどは検討が必要。

再現手順(Procedure)

APIでorderのorder_dateを取得する

クエリ

{
  orders {
    id
    order_date
  }
}

結果

{
  "errors": [
    {
      "message": "Internal server error",
      "extensions": {
        "category": "internal"
      },
      "locations": [
        {
          "line": 4,
          "column": 5
        }
      ],
      "path": [
        "orders",
        0,
        "order_date"
      ]
    },

環境 (environment)

  • EC-CUBE: API beta
  • PHP: 7.2
  • DB:
    • PostgreSQL 10

関連情報 (Ref)

#4447
#4474
webonyx/graphql-php#228

@okazy okazy added this to the 4.1 milestone Mar 17, 2020
@okazy
Copy link
Contributor Author

okazy commented Nov 5, 2020

Web APIプラグインでは修正されているためクローズします。

@okazy okazy closed this as completed Nov 5, 2020
@okazy okazy modified the milestones: 4.1, Not release Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant