Logo-amall

I am having issues with hasura array relations. To simplify i have two tables.,book and Author. Book table columns : id, name,author_id Author table columsn : id,name An author could have many books, A book could have one author. I create them via ui. - I added author .id to book.author_id as a foreign key -Hasura suggests me relationships to track. - I click track all. - The odd behavior starts. Book relation points book.author_id to book.id -In the Author table relationships It says could not find target column Any body had an issue like that ? Question as github issue with pictures. https://github.com/hasura/graphql-engine/issues/9262 Thanks

Last active 3 months ago

3 replies

11 views

  • EM

    I am having issues with hasura array relations. To simplify i have two tables.,book and Author.

    Book table columns : id, name,author_id
    Author table columsn : id,name

    An author could have many books, A book could have one author. I create them via ui.

    • I added author .id to book.author_id as a foreign key

    -Hasura suggests me relationships to track.

    • I click track all.

    • The odd behavior starts. Book relation points book.author_id to book.id

    -In the Author table relationships It says could not find target column

    Any body had an issue like that ?

    Question as github issue with pictures.

    https://github.com/hasura/graphql-engine/issues/9262

    Thanks

  • EM

    @elitan FYI I reported to hasura. bug will be fixed in next relase

  • EL

    Nice! Thanks for keeping us posted here.

Last active 3 months ago

3 replies

11 views