FLUID-6130: Cannot resolve context name {arguments} for invoker arguments

Metadata

Source
FLUID-6130
Type
Bug
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2017-02-13T20:05:35.586-0500
Updated
2024-07-22T10:35:18.283-0400
Versions
  1. 2.0
Fixed Versions
  1. 2.1
  2. 3.0
Component
  1. IoC System

Description

The following definition is invalid, whilst there is no good argument against it:

invokers: {
            destroyTargetComponent: {
                func: "{arguments}.0.destroy"
            }
        }

Comments

  • Antranig Basman commented 2017-02-13T20:08:00.755-0500

    Other than the argument of efficiency - this case is extremely rare, whereas the cost of resolving the function via the whole machinery of fluid.recordToApplicable etc. is very large.