Skip to content
Snippets Groups Projects
Commit d1a4831c authored by stevereis's avatar stevereis
Browse files

refactor: rename name to id

parent bafbb7df
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ export const experimentInputToData = (data: ExperimentCreateInput) => { ...@@ -83,7 +83,7 @@ export const experimentInputToData = (data: ExperimentCreateInput) => {
((data.transformations?.length > 0 || data.interactions?.length > 0) && { ((data.transformations?.length > 0 || data.interactions?.length > 0) && {
single: single:
data.transformations?.map((t) => ({ data.transformations?.map((t) => ({
var_name: t.name, var_name: t.id,
unary_operation: t.operation, unary_operation: t.operation,
})) || [], })) || [],
interactions: interactions:
......
...@@ -4,7 +4,7 @@ import { AlgorithmInput } from './algorithm.input'; ...@@ -4,7 +4,7 @@ import { AlgorithmInput } from './algorithm.input';
@InputType() @InputType()
export class FormulaTransformation { export class FormulaTransformation {
@Field() @Field()
name: string; id: string;
@Field() @Field()
operation: string; operation: string;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment