Skip to content

Commit

Permalink
NEOS-1490: updates logic to apply passthrough to identity columns (#2739
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nickzelei authored Sep 25, 2024
1 parent 074ff2c commit 32486bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export function SchemaTableToolbar<TData>({
</Button>
}
headerText="Apply Default Transformers?"
description="This setting will apply the 'Passthrough' Transformer to every column that is not Generated, while applying the 'Use Column Default' Transformer to all Generated columns."
description="This setting will apply the 'Passthrough' Transformer to every column that is not Generated, while applying the 'Use Column Default' Transformer to all Generated (non-Identity) columns."
buttonText="Apply"
onConfirm={() => {
const formMappings = form.getValues('mappings');
Expand All @@ -186,7 +186,7 @@ export function SchemaTableToolbar<TData>({
const identityType =
constraintHandler.getIdentityType(colkey);
const newJm =
isGenerated || identityType
isGenerated && !identityType
? new JobMappingTransformer({
source: TransformerSource.GENERATE_DEFAULT,
config: new TransformerConfig({
Expand Down

0 comments on commit 32486bc

Please sign in to comment.