Smart relationships not working after upgrading to v5

This is a template you can use to report issues. You can also drag images, videos and include Preformatted text

Expected behavior

Please describe here the behavior you are expecting.
Smart Relationships should work

Actual behavior

What is the current behavior?
Hello :slight_smile:
We upgraded from v3->v4 then v4-v5 . Since , all our smart relationships seems to break at the serialize step . We get "fieldSearched.concat is not a function’ ( screen below ) .
It seems we have followed and managed any breaking changes during upgrade . If you have any clue on this … :wink:

Failure Logs

Please include any relevant log snippets, if necessary.


Please provide any relevant information about your setup.

  • Package Version:5.7
  • Express Version:4.16.3
  • Sequelize Version:5.3
  • Database Dialect: mongodb js
  • Database Version:
  • Project Name: Panopli

Hi @Tom,
Welcome to the Forest Admin community!

Could you share with us a Smart Relationship implementation, and especially the way you call the serialization method?
My feeling is that the signature of the serialization method changed, I’d like to check that.

Thanks for your help.

Hello @arnaud ty for you reply :slight_smile:
Capture d’écran 2020-08-14 à 15.48.18

is it enough ?

Well nvm I check the ResourceSerializer after your reply and we had an extra params :frowning: , it’s working fine now . Ty for your Help !

1 Like

I guess you did this instead:

new Liana.ResourceSerializer(Liana, Orders, orders, null, { count }).perform()