robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

Suggestion: default toString implementation in ActiveRecord #227

Open mrjbg opened 10 years ago

mrjbg commented 10 years ago

Hey mate :)

I just had a very simple idea/request. Could you extend mechanoid to provide a default toString implementation that returns for example the following:

RecipeRecord { id = 1; title = "title"; ingredients { ingredient1 = salt; ... } .... }

Or simply make toString spit out the key-value pairs in JSON format :) This would be very useful for debugging purposes (but not limited to this).

Cheers mate, George

fluxtah commented 10 years ago

Hey it is possible yes can take a look when I get a a chance

On 4 Mar 2014 00:55, mrjbg notifications@github.com wrote: Hey mate :)

I just had a very simple idea/request. Could you extend mechanoid to provide a default toString implementation that returns for example the following:

RecipeRecord { id = 1; title = "title"; ingredients { ingredient1 = salt; ... } .... }

Or simply make toString spit out the key-value pairs in JSON format :) This would be very useful for debugging purposes (but not limited to this).

Cheers mate, George


Reply to this email directly or view it on GitHub: https://github.com/robotoworks/mechanoid/issues/227