-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
7aff01e
to
55ac590
Compare
6ac5f84
to
ec304b6
Compare
TODO: we also want a test for multiple row components, but will do this in a follow up PR |
put(ImmutableMultimap.of(row, Column2.of(value))); | ||
} | ||
|
||
public void putColumn2(Map<SchemaApiTestRow, String> map) { | ||
public void putColumn2(Map<SchemaApiTestRow, com.palantir.atlasdb.table.description.StringValue> map) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, need to get rid of these package qualifiers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually i don't think this behavior changed for the v1 generated code, so leaving as is
ec304b6
to
98b9018
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2495 +/- ##
=============================================
+ Coverage 60.11% 60.18% +0.07%
- Complexity 2474 4080 +1606
=============================================
Files 855 855
Lines 40065 40067 +2
Branches 4044 4045 +1
=============================================
+ Hits 24084 24115 +31
+ Misses 14507 14471 -36
- Partials 1474 1481 +7
Continue to review full report at Codecov.
|
@@ -166,7 +167,7 @@ public Namespace getNamespace() { | |||
|
|||
/** | |||
* Returns the value for column Column2 and specified row components. */ | |||
public Optional<String> getColumn2(String component1) { | |||
public Optional<StringValue> getColumn2(String component1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not compile for me:
/Users/hsaraogi/code/atlasdb/atlasdb-client/src/integrationInput/java/com/palantir/atlasdb/table/description/generated/SchemaApiTestV2Table.java:330: error: cannot find symbol
StringValue newValue = processor.apply(result.get());
^
symbol: class StringValue
location: class SchemaApiTestV2Table
33 errors
:atlasdb-client:compileIntegrationInputJava FAILED
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, not compiling in circle either. let me fix it
a69c2fd
to
9033ef8
Compare
This should be good for review again. Pinging @hsaraogi for it. |
Reviewed 3 of 14 files at r1, 2 of 2 files at r2, 10 of 12 files at r4, 2 of 3 files at r5, 1 of 1 files at r6. Comments from Reviewable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, one comment on release notes.
- Simplify and annotate the constructors for ``SerializableTransactionManager``. This should make the code of that class more maintainable. | ||
If you used one of the deleted or deprecated constructors, use the static ``create`` method. | ||
(`Pull Request <https://github.com/palantir/atlasdb/pull/2549>`__) | ||
* - |improved| |devbreak| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the merge conflict wasnt resolved in the right manner, this PR is effectively adding two release note entries.
5fec045
to
8f80cfc
Compare
Goals (and why):
Support persistables in v2 generated code
Fixes #2485
Implementation Description (bullets):
getJavaObjectTypeClass
method onColumnValue
, which correctly returns the underlying classTODO:
Concerns (what feedback would you like?):
Where should we start reviewing?:
Priority (whenever / two weeks / yesterday):
this week
This change is