FLUID-6516: Allow Nexus model binding to empty model paths

Metadata

Source
FLUID-6516
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Philip Tchernavskij
Reporter
Philip Tchernavskij
Created
2020-06-09T15:29:36.834-0400
Updated
2024-07-22T10:35:23.906-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Nexus

Description

The Nexus' WebSocket endpoint /bindModel/ currently has its route specified as "/bindModel/:componentPath/:modelPath". In cases where a model binding needs to address the entirety of a components model, the modelPath segment of the URL is empty, e.g. "/bindModel/some.component.path/". However, requests without the modelPath segment do not trigger the endpoint. The solution to this issue is presumably to add another endpoint and connecting it to the same request handler.