RESTyard icon indicating copy to clipboard operation
RESTyard copied to clipboard

Inconsistent query type

Open Tyrrx opened this issue 1 year ago • 2 comments

The hypermedia generator produces records for queries but the framework provides QueryBase as abstract class. Records cannot inherit abstract classes. Either the generator needs to be changed to emit classes or the framework should provide QueryBase as an abstract record.

Tyrrx avatar May 17 '24 06:05 Tyrrx

@MathiasReichardt Can we consider using the record type for QueryBase? The only problem with that approach is that the current Member Clone is a reserved name for records. We could also use an interface for the type.

Tyrrx avatar Nov 21 '24 12:11 Tyrrx

Lets revisit in the current redesign. I thing the concept will be generalized after all.

MathiasReichardt avatar Feb 07 '25 20:02 MathiasReichardt