Hiding some fields in the return model

Hi @hasimyerlikaya,

or something like this:

 Let(
  {
    create: Create(Collection('users'),
      {
        data:
          {
            name:"test",
            lastName: "user",
            email: "testuser@mail.com",
            activation: false,
            emailVerified: false,
            emailVerificationCode: "435fdgfd-5fh87-dvgt-5r4f-dfbgazxtr667hgfb6"
          }
        }
      )
  },
  Merge(Select(['data'],Var('create')),{emailVerificationCode: null})
)

Luigi

2 Likes