Using scope vars in segment sql queries

Hello,

I realized that scope variables ($currentUser.email…) can conveniently be used in segments when using the SIMPLE mode.

Is there a way to use them with the QUERY mode as well?

Best regards,
Arthur


CTO @ homeloop

Hi @arthur.derouge :wave:

There is currently no way to make it work with QUERY segment. Let me push this to our product board.

Thanks for your feedback :pray:

Hi,

Is it possible to use scope on API chart ? By the user context or something else ?

Thanks,

Lucas.

Hi @Lucas_Yver,

Welcome to the ForestAdmin community and thank you for sharing your need with us.

Could you please provide a bit more context on the content of your API chart? Are you querying an external API or just crafting request with an ORM? Is your project on forest-express-sequelize, forest-express-mongoose,forest-rails?

Thank you

1 Like