Did DA considered a fetchAndExercise function

G-d willing

Hello,
I find myself doing fetchByKey followed by the exercise function, and I wondered if it is possible to join them exactly like we have with createAndExercise.
I can have this function locally in the project I am working on. But I think that having such a function in the Prelude would be great.

Thanks,

Thank you for this Feature Request, we have taken this internally and once we get some feedback as to the potential viability and/or priority on the current Roadmap, we will let you know here.

2 Likes

Hi @cohen.avraham Just a quick follow-up that we have not forgotten your Feature Request, and I will respond once I have some concrete feedback.

1 Like

I knew you wouldn’t :slightly_smiling_face:

1 Like

Hi @cohen.avraham we are discussing this internally but we require some further information about your specific use case. Therefore, if it is acceptable to you, we will contact you directly via your contact email and continue the conversation off this forum.

Hi @cohen.avraham ,

Is the function exerciseByKey what you are looking for? If not, what would you expect a fetchByKeyAndExercise to do differently?