function getFullPathKey()

in src/client/src/schema/validation/validate_schema.ts [52:61]


function getFullPathKey(context: Context): string {
  return (
    context
      // Remove the context provided by InterfaceType and PartialType because their keys are simply numeric indices
      .filter((ctx) => !['InterfaceType', 'PartialType'].includes((ctx.type as Type<unknown> & { _tag: string })._tag))
      .map(({ key }) => key)
      .filter(Boolean)
      .join('.')
  );
}