type ProcessParametersPair = {Definition:string; Provided:string}
type QueryResult = { DefinitionId:int;DefinitionName:string; ProcessTemplateId:int; StatusName:string; DefinitionArgs:string; BuildArgs:string;
StatusCode:int option;cleanWorkspaceOption:string; RawProcessParameters:ProcessParametersPair; lastBuild:Tbl_Build}
type QueryDisplay = { DefinitionId:int;DefinitionName:string; ProcessTemplateId:int; StatusName:Object; DefinitionArgs:string; BuildArgs:string;
StatusCode:int option;cleanWorkspaceOption:string; RawProcessParameters:Object; lastBuild:Object}
Do I really need to repeat all QueryDisplayRecord fields that match? Can I do something similar with record instances?type QueryDisplay = {QueryResult with lastBuild:Object}
In this case, I am changing the record based on the type of the field, I would also be interested to know if I can do this, but in the added fields instead of the fields with the changed type.
I don't mean instances, I mean record type definitions.
Are any of these options possible?
source
share