alexeyinkin opened a new issue, #24709:
URL: https://github.com/apache/beam/issues/24709

   ### What needs to happen?
   
   Currently asset file names are doubled by constants like
   
https://github.com/apache/beam/blob/2cd38984a354c76ada42cb51f13a398babaf1b76/playground/frontend/lib/constants/assets.dart#L19
   
   Assets are fetched using those constants. So there is no compile-time 
guarantee that a requested asset exists.
   
   In ToB, we use https://pub.dev/packages/flutter_gen to achieve compile-time 
safety. It generates constants like
   
https://github.com/apache/beam/blob/2cd38984a354c76ada42cb51f13a398babaf1b76/learning/tour-of-beam/frontend/lib/assets/assets.gen.dart#L32
   
   The same should be done in Playground.
   
   ### Issue Priority
   
   Priority: 3 (nice-to-have improvement)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [X] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to