ménard - I'm thinking of something like:typesc...
Hi, is there a way without going out of band to make one field always have the same value as another even when it's not part of the input object?
I'm thinking of something like:
4 Replies
If it's always the same value, then it doesn't really make sense to me to even have it in the input. If it's necessary in the output, I would just add it with a transform on the object.
It's not supposed to be in the input. 🙂
I'll try using
.transform
like that.
it does exactly what I hoped it would
Thanks, @SvishCool. Not sure I'd bother writing a unit test for that though 😛
Haha
I write tests to check my understanding of programming language and library features all the time