Olzhas Suleimen
Olzhas Suleimen
You can look at aqueduct/conduit [MessageHub](https://github.com/conduit-dart/conduit/blob/master/packages/core/lib/src/application/channel.dart#L221) & [Threading](https://aqueduct.io/docs/application/threading).
Interseting, you can implement it using [Environment](https://pub.dev/documentation/jinja/latest/jinja/Environment/Environment.html)'s `getItem` argument or writing filter: ```dart import 'dart:convert'; import 'package:jinja/jinja.dart'; import 'package:json_path/json_path.dart'; void main() { var document = jsonDecode(_json); print('All prices in the...
Look at [missing filters here](https://github.com/ykmnkmi/jinja.dart/blob/main/lib/src/filters.dart#L622). I add this label later.
~For me, having abstract interfaces is enough~. `ChildNode` has useful methods like `after`, `before`, and `remove`, included in `CharacterData` (`Text`, `Comment`) and `Element`, which are the most commonly used classes...
Can I insert HTML with this? ```dart @[component] Node counter() { var count = state(0); void handleClick() { count.set(count() + 1); } return Clicked {count()} {count() == 1 ? 'time'...
Does `analyzer` have functions or classes for parsing partial declarations? `parseString` function from `analyzer` expects whole script and `Parser` class from `_fe_analyzer_shared` accepts tokens).
Is it possible to hide or remove imports? One of the features I liked about macros was removing imports and `uri_does_not_exist` errors.
It will be convenient for implementing interfaces in type checking condition expression, whereType, ... . ```dart import 'dart:convert'; abstract class Serializable { Map toMap(); } class Explicit implements Serializable {...
@lrhn can we use encoding constants as prefix: ```dart const List hello = utf8'Hello, 世界'; ```
My idea is to use other encodings as well: json, ascii, ... , myCustomCodec.