graphcraft icon indicating copy to clipboard operation
graphcraft copied to clipboard

fix: remove errors for joins option

Open akaJes opened this issue 2 years ago • 1 comments

When used model.graphql.joins = true option appears some errors:

  "errors": [
    {
      "message": "Cannot read property 'associations' of undefined",

AND

  "errors": [
    {
      "message": "FIELD is associated to TABLE using an alias. You must use the 'as' keyword to specify the alias within your include statement.",

akaJes avatar Feb 18 '22 14:02 akaJes

Thank you for the PR. I will test tonight and merge - release

alirizwan avatar Feb 18 '22 17:02 alirizwan