Skip to content

Generate java from metadata #4

Open

Description

@alechenninger

This is a little harder, but not much, thanks to: https://github.com/square/javapoet

Activity

  1. alechenninger commented on Feb 28, 2016

    @alechenninger
    CollaboratorAuthor

    From README...

    This is lowest priority since java to metadata is lossy therefore going the other direction will require a small amount of "magic" to compute that missing information. For this reason I think it's better to simply use Java classes as the starting point / source of truth since they're much easier to write, usable in other code, and retain more information.

  2. alechenninger commented on Mar 20, 2016

    @alechenninger
    CollaboratorAuthor

    Another reason I found not to go this direction is correctness: it is much more difficult to have bugs in your metadata when your source of truth is strongly typed and statically analyzable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions