fromValue
Assign a fixed value to one destination member.
forMember(
(destination) => destination.status,
fromValue('active'),
);
Objects are assigned as provided; fromValue() does not run them through a nested mapping.
Assign a fixed value to one destination member.
forMember(
(destination) => destination.status,
fromValue('active'),
);
Objects are assigned as provided; fromValue() does not run them through a nested mapping.
Last updated on July 16, 2026
Was this page helpful?
Thanks for your feedback!