0

How I can handle polymorphic association using hasura graphql engine PostgreSQL,means for example assume there is video,post,user table and all need to have photo what I did before is post_photo,user_photo ... make relationship for each table with photo but now I need to do using polymorphic association like photos(id,imagableType,imagableId,imgUrl)

I tried to relate in sql

  • Please give more context. Your post needs more specific information about which columns are defined on which tables, which relationships are already tracked and which you are struggling with and what the issue seems to be with the ones you haven't managed to do – Abraham Labkovsky Mar 02 '23 at 15:04

0 Answers0