This message was deleted.
# typescript
s
This message was deleted.
w
You will most likely want to construct this client inside your CRUD implementations (or in a helper they call) using information passed in as arguments. When the data arrives at your CRUD implementations it will be raw `strings`s, not
Input<string>
.
s
but a
constructor
in the
ResourceProvider
that deals with all the CRUD implementations, will mess with the arguments that’s receiving from what I’ve noticed. How do you suggest doing it? Any example I can have a look at?
@tall-librarian-49374 this is what I’ve been trying to do. @white-balloon-205 has give it some thought, but it’s something I had already looked, with no initial success
t
I'm online now, let me have a look
One thing to keep in mind that the provider code will run at a different time and in a different process than the resource code. Therefore, I'm not actually sure that you can pass clients between them.
with two types of arguments (one with Outputs, other without) and passing them along
s
it was a very weird thing that I managed to resolve by clearing out a bit the state file… but definitely there was something in there cached