redstone-dart / redstone

A metadata driven microframework for Dart.
http://redstone-dart.github.io/redstone
MIT License
342 stars 42 forks source link

WARNING: dart:mirrors support in dart2js is experimental, * and not recommended. #96

Closed SatWiz closed 8 years ago

SatWiz commented 9 years ago

When convert to JS I having this warning for my project using package:redstone_mapper:

My question, is it save to use redstone_mapper in production?

austincummings commented 9 years ago

You can get rid of this by adding redstone_mapper to the transformers section in your pubspec.yaml file.

SatWiz commented 9 years ago

I saw that in the older docs. But it looks like it is not working in version 0.2.0-beta.1 which I used now. As I still get the warning with the redstone_mapper in the yaml_file.

SatWiz commented 9 years ago

Are you still working on the 0.2.0 transformer and is it better to use previous version of the redstone_mapper for more stability?

austincummings commented 9 years ago

@SatWiz I would recommend using the previous version. This project is currently going through a ownership transition and we still need to learn the code.

Pacane commented 8 years ago

@SatWiz It seems like the transformer isn't working correctly. I personally stopped using redstone_mapper in favor of dogma_codegen. However, if you are still having problems with this, I could take a look at it.

SatWiz commented 8 years ago

thanks Pacane, thought I had use dart bridge as replacement. So no need anymore ;)

Pacane commented 8 years ago

If you want some help about using dogma-codegen though. let me know. I've also written a small post about it. http://stacktrace.ca/json-serialization-in-dart-with-dogma

ghost commented 8 years ago

Hello,

I am getting this error while I am deploying this.

Building security_monkey... (22.4s) [Info from Dart2JS]: Compiling security_monkey|web/main.dart... [Dart2JS]: web/main.dart:


Pacane commented 8 years ago

Show me your pubspec.

ghost commented 8 years ago

name: security_monkey description: An AWS Policy Monitoring and Alerting Tool version: 0.5.0 dependencies: angular: ">=1.1.0 <2.0.0" angular_ui: ">=0.6.8 <0.7.0" hammock: ">=0.4.0 <0.5.0" ng_infinite_scroll: ">=0.2.0 <0.3.0" web_components: ">=0.10.1 <0.11.0" browser: ">=0.10.0+2 <0.11.0" http_server: ">=0.9.5+1 <0.10.0" code_transformers: ">=0.2.5 <0.3.0" dart_to_js_script_rewriter: ">=0.0.2 <0.1.0" aws_policy_expander_minimizer: ">=0.0.5 <0.1.0" dev_dependencies: unittest: '0.11.0+2' redstone_mapper:

Pacane commented 8 years ago

wait, so are you serving an angular app from redstone?