return&ValidationError{Name:"registration_password_hash",err:errors.New(`ent: missing required field "PendingAuthSession.registration_password_hash"`)}
}
if_,ok:=_c.mutation.UpstreamIdentityClaims();!ok{
return&ValidationError{Name:"upstream_identity_claims",err:errors.New(`ent: missing required field "PendingAuthSession.upstream_identity_claims"`)}
}
if_,ok:=_c.mutation.LocalFlowState();!ok{
return&ValidationError{Name:"local_flow_state",err:errors.New(`ent: missing required field "PendingAuthSession.local_flow_state"`)}
}
if_,ok:=_c.mutation.BrowserSessionKey();!ok{
return&ValidationError{Name:"browser_session_key",err:errors.New(`ent: missing required field "PendingAuthSession.browser_session_key"`)}
}
if_,ok:=_c.mutation.CompletionCodeHash();!ok{
return&ValidationError{Name:"completion_code_hash",err:errors.New(`ent: missing required field "PendingAuthSession.completion_code_hash"`)}
}
if_,ok:=_c.mutation.ExpiresAt();!ok{
return&ValidationError{Name:"expires_at",err:errors.New(`ent: missing required field "PendingAuthSession.expires_at"`)}
// channelmonitorrequesttemplate.BodyOverrideModeValidator is a validator for the "body_override_mode" field. It is called by the builders before save.