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

createOffer ignores due field #66

Open
vcuculo opened this issue Sep 16, 2021 · 1 comment
Open

createOffer ignores due field #66

vcuculo opened this issue Sep 16, 2021 · 1 comment

Comments

@vcuculo
Copy link

vcuculo commented Sep 16, 2021

The following mutation


mutation {
  createOffer(intent: {
      action: "transfer",
      name: "Donazione",
      receiver:"01F3MHQ0KWJC7M19B1E8BXVY46",
      resourceInventoriedAs:"01FFPTBZ2HGX9KQT7KRRQBKA5J"
      availableQuantity: {hasUnit: "01FFJEBJ4S4E4ZDWZNEWYFZYD7", hasNumericalValue: 10}
      due: "2021-09-20T14:10:20+01:00"
  }
  ) {
    intent {
      id
      name
      due
    }
  }
}

results in

{
  "data": {
    "createOffer": {
      "intent": {
        "due": null,
        "id": "01FFPTZ4Q51CE7N77619DQGCYH",
        "name": "Donazione"
      }
    }
  }
}
@vcuculo
Copy link
Author

vcuculo commented Sep 21, 2021

This issue extends also to properties hasBeginning, hasEnd and hasPointInTime

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