Skip to content

Commit 89449ba

Browse files
Add note on desired API attribute of a reusable component/element
1 parent a565c33 commit 89449ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ng-appserver/src/main/java/ng/appserver/templating/NGDynamicElementDescription.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
* FIXME: Specify types allowed to be passed to a binding
4141
* FIXME: And if an element pushes values, _what_ do they push. An element might accept a variety of types for a binding but always push back a single type (e.g. a textfield will take whatever and use whatever.toString() - but always push back a String (well, unless you use a formatter, which is an entire different story)
4242
* FIXME: Support "sets" of valid values that can be passed to a binding, i.e, a list of values, the legal values of a certain enum etc.
43+
* FIXME: The API should specify whether this is a "reusable component" or a "page-level component". Page-level components should not be usable in tags/templates.
4344
*/
4445

4546
public record NGDynamicElementDescription( Class<? extends NGDynamicElement> elementClass, List<String> aliases, List<NGBindingDescription> bindings, String text ) {

0 commit comments

Comments
 (0)