IntentArchitect / Support

A repository dedicated to handling issues and support queries
3 stars 0 forks source link

Using Type that does not exist #61

Closed leonAtRain closed 11 months ago

leonAtRain commented 11 months ago

Ask a question

I have a grpc autogenerated type that I use in my code, called ReferenceDto, but when I specify it in the Services side, I'm not sure how I can use that class, as it does not exist anywhere until the project is built, so now everytime I run SF, this happens: image

Is there an easy solution to this?

joelsteventurner commented 11 months ago

Hi @leonAtRain

To achieve this, you can simply add a new type to your designer, using the "Add Type" context menu option on the package.

Now using this type as your operation return type.

leonAtRain commented 11 months ago

Hi, This worked for me, thanks for the quick response.