-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin Code Gen module #435
Commits on Feb 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fc927f1 - Browse repository at this point
Copy the full SHA fc927f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fabdf13 - Browse repository at this point
Copy the full SHA fabdf13View commit details -
Configuration menu - View commit details
-
Copy full SHA for c16bd74 - Browse repository at this point
Copy the full SHA c16bd74View commit details -
Try using kapt configuration from kotlin-examples repo
Still no luck!
Configuration menu - View commit details
-
Copy full SHA for 5629bb9 - Browse repository at this point
Copy the full SHA 5629bb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b84f7a - Browse repository at this point
Copy the full SHA 8b84f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c32fb7 - Browse repository at this point
Copy the full SHA 6c32fb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 221b9b3 - Browse repository at this point
Copy the full SHA 221b9b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9303d3 - Browse repository at this point
Copy the full SHA d9303d3View commit details -
Ignore kotlin code gen tests for now
None of these are data classes tests right now, which is the only thing this supports right now
Configuration menu - View commit details
-
Copy full SHA for f39f3fc - Browse repository at this point
Copy the full SHA f39f3fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f45e0ff - Browse repository at this point
Copy the full SHA f45e0ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c2b044 - Browse repository at this point
Copy the full SHA 4c2b044View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2dd477 - Browse repository at this point
Copy the full SHA a2dd477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 380a3a2 - Browse repository at this point
Copy the full SHA 380a3a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 316eb77 - Browse repository at this point
Copy the full SHA 316eb77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c98c37 - Browse repository at this point
Copy the full SHA 9c98c37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ef68c - Browse repository at this point
Copy the full SHA 35ef68cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36689ab - Browse repository at this point
Copy the full SHA 36689abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 592a08e - Browse repository at this point
Copy the full SHA 592a08eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a1d735 - Browse repository at this point
Copy the full SHA 3a1d735View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15d556c - Browse repository at this point
Copy the full SHA 15d556cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d05c0 - Browse repository at this point
Copy the full SHA 94d05c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc2d81 - Browse repository at this point
Copy the full SHA 8cc2d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c98105 - Browse repository at this point
Copy the full SHA 9c98105View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81287b7 - Browse repository at this point
Copy the full SHA 81287b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8614325 - Browse repository at this point
Copy the full SHA 8614325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6825d69 - Browse repository at this point
Copy the full SHA 6825d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00087b9 - Browse repository at this point
Copy the full SHA 00087b9View commit details -
Use properties instead of allocated names for more robustness
Since we're already on a snapshot
Configuration menu - View commit details
-
Copy full SHA for f894c6c - Browse repository at this point
Copy the full SHA f894c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for af945d3 - Browse repository at this point
Copy the full SHA af945d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 980016e - Browse repository at this point
Copy the full SHA 980016eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c1bb3 - Browse repository at this point
Copy the full SHA e9c1bb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3533dc - Browse repository at this point
Copy the full SHA c3533dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cded10 - Browse repository at this point
Copy the full SHA 7cded10View commit details -
Configuration menu - View commit details
-
Copy full SHA for d952e02 - Browse repository at this point
Copy the full SHA d952e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for a225bf5 - Browse repository at this point
Copy the full SHA a225bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 615325c - Browse repository at this point
Copy the full SHA 615325cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b5da41 - Browse repository at this point
Copy the full SHA 2b5da41View commit details -
Configuration menu - View commit details
-
Copy full SHA for b94d565 - Browse repository at this point
Copy the full SHA b94d565View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0973769 - Browse repository at this point
Copy the full SHA 0973769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d0651 - Browse repository at this point
Copy the full SHA 96d0651View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7271942 - Browse repository at this point
Copy the full SHA 7271942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 266bceb - Browse repository at this point
Copy the full SHA 266bcebView commit details -
Switch to only nullable handling, report missing properties
This makes all nullable handling for local properties the same, and removes defaults for primitives in the process. It simplifies the handling a lot, and leans on kotlin language features to take care of null handling (null checking and then throwing the lazily evaluated list of missing properties). One minor change from what kotshi does - this reports the serialized name in the missing properties, not the property name. We could look at supporting this though if we want.
Configuration menu - View commit details
-
Copy full SHA for 494a682 - Browse repository at this point
Copy the full SHA 494a682View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8d5833 - Browse repository at this point
Copy the full SHA f8d5833View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf7cfb - Browse repository at this point
Copy the full SHA 2cf7cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d13c494 - Browse repository at this point
Copy the full SHA d13c494View commit details
Commits on Feb 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0de2157 - Browse repository at this point
Copy the full SHA 0de2157View commit details -
Configuration menu - View commit details
-
Copy full SHA for b218363 - Browse repository at this point
Copy the full SHA b218363View commit details
Commits on Feb 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 49004ad - Browse repository at this point
Copy the full SHA 49004adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57a3332 - Browse repository at this point
Copy the full SHA 57a3332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c134a3 - Browse repository at this point
Copy the full SHA 6c134a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b1be0 - Browse repository at this point
Copy the full SHA e2b1be0View commit details
Commits on Feb 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7461d68 - Browse repository at this point
Copy the full SHA 7461d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6e8a84 - Browse repository at this point
Copy the full SHA d6e8a84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a91af8 - Browse repository at this point
Copy the full SHA 4a91af8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c95a2b9 - Browse repository at this point
Copy the full SHA c95a2b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c69c477 - Browse repository at this point
Copy the full SHA c69c477View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b2527 - Browse repository at this point
Copy the full SHA b9b2527View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90436da - Browse repository at this point
Copy the full SHA 90436daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb5bb4 - Browse repository at this point
Copy the full SHA 8eb5bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for dea9c0b - Browse repository at this point
Copy the full SHA dea9c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 263be76 - Browse repository at this point
Copy the full SHA 263be76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5efd6 - Browse repository at this point
Copy the full SHA 7f5efd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4132192 - Browse repository at this point
Copy the full SHA 4132192View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f08c70 - Browse repository at this point
Copy the full SHA 1f08c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 428917d - Browse repository at this point
Copy the full SHA 428917dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc8647f - Browse repository at this point
Copy the full SHA dc8647fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 917ae9b - Browse repository at this point
Copy the full SHA 917ae9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a9f1b - Browse repository at this point
Copy the full SHA 62a9f1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4cdd6 - Browse repository at this point
Copy the full SHA ef4cdd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9445169 - Browse repository at this point
Copy the full SHA 9445169View commit details -
Configuration menu - View commit details
-
Copy full SHA for a987697 - Browse repository at this point
Copy the full SHA a987697View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12857e1 - Browse repository at this point
Copy the full SHA 12857e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 449667b - Browse repository at this point
Copy the full SHA 449667bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 960f85e - Browse repository at this point
Copy the full SHA 960f85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d175897 - Browse repository at this point
Copy the full SHA d175897View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0390cc5 - Browse repository at this point
Copy the full SHA 0390cc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 999e3fc - Browse repository at this point
Copy the full SHA 999e3fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0702fc7 - Browse repository at this point
Copy the full SHA 0702fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e090521 - Browse repository at this point
Copy the full SHA e090521View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fec18a - Browse repository at this point
Copy the full SHA 1fec18aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ddf528 - Browse repository at this point
Copy the full SHA 5ddf528View commit details -
Configuration menu - View commit details
-
Copy full SHA for b59f36a - Browse repository at this point
Copy the full SHA b59f36aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a33d46c - Browse repository at this point
Copy the full SHA a33d46cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a34bb0 - Browse repository at this point
Copy the full SHA 9a34bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7525f89 - Browse repository at this point
Copy the full SHA 7525f89View commit details
Commits on Feb 24, 2018
-
Switch to declared constructors
Technically more correct since we're defining these
Configuration menu - View commit details
-
Copy full SHA for 5597b91 - Browse repository at this point
Copy the full SHA 5597b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for d877e88 - Browse repository at this point
Copy the full SHA d877e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed2a58 - Browse repository at this point
Copy the full SHA 5ed2a58View commit details -
Slight optimization - check if the type is parameterized first
If the type is a parameterized type, then we know they'll have the two-arg constructor. This way we don't always try and fail the single arg constructor on parameterized types
Configuration menu - View commit details
-
Copy full SHA for 67f4ab1 - Browse repository at this point
Copy the full SHA 67f4ab1View commit details
Commits on Mar 10, 2018
-
Add test for type aliases, optimize to reuse adapters if possible
This is a tiny optimization to make type aliases (which did already work) reuse adapter properties if they already exist for the backing type. What this means is that if you have: typealias Foo = String and properties foo: Foo bar: String you'll only get one adapter property field for String, and both will use it
Configuration menu - View commit details
-
Copy full SHA for 9b6e78b - Browse repository at this point
Copy the full SHA 9b6e78bView commit details
Commits on Mar 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a9ae13a - Browse repository at this point
Copy the full SHA a9ae13aView commit details
Commits on Mar 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 31b11f0 - Browse repository at this point
Copy the full SHA 31b11f0View commit details