Skip to content

feat!(scalasdk): WIP#398

Merged
RayRoestenburg merged 1 commit intomainfrom
scala-public-api
Sep 17, 2021
Merged

feat!(scalasdk): WIP#398
RayRoestenburg merged 1 commit intomainfrom
scala-public-api

Conversation

@RayRoestenburg
Copy link
Copy Markdown
Contributor

No description provided.

@@ -0,0 +1,67 @@
akkaserverless {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work, since we include the reference.conf from javasdk dependency, with the same config properties.
Good news is that it's not needed at all.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool will remove

}

object Metadata {
def empty = new MetadataImpl(JMetadataImpl.Empty)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

val ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure


object Metadata {
def empty = new MetadataImpl(JMetadataImpl.Empty)
def apply() = empty
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Metadata.empty is enough.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

}

object Metadata {
def empty = new MetadataImpl(JMetadataImpl.Empty)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

always define explicit return types in public api: empty: Metadata

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, I forget this every time!

@RayRoestenburg RayRoestenburg force-pushed the scala-public-api branch 5 times, most recently from 05b6f4f to 1aeb622 Compare September 16, 2021 08:42
Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, let us know when it's in a good shape for first merge. We can add more and fixup incrementally, and that might also make it possible to split the work.

Before starting on all fronts we should probably spike ValueEntity all the way.

@RayRoestenburg RayRoestenburg force-pushed the scala-public-api branch 3 times, most recently from 069d3f5 to a4fdc1e Compare September 16, 2021 14:55
@patriknw patriknw changed the title WIP: Scala public api feat: First parts of Scala public api Sep 17, 2021
Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, lets merge this and continue in additional PRs

@patriknw patriknw marked this pull request as ready for review September 17, 2021 07:15
feat(scalasdk): scaffolding for AkkaServerless, just to compile.

Some type scaffolding / glue

Not extending from the public facing javasdk. Not ideal yet, but compiles.
This might mean later that we have to duplicate some more code.

Comment.

Structure for ValueEntity.

Tmp.

AkkaServerlessRunner.

Some more wip.

More wip.

Skip publish of scalasdk.
@RayRoestenburg RayRoestenburg changed the title feat: First parts of Scala public api feat!(scalasdk): WIP Sep 17, 2021
@RayRoestenburg RayRoestenburg merged commit 6fceba5 into main Sep 17, 2021
@RayRoestenburg RayRoestenburg deleted the scala-public-api branch September 17, 2021 07:18
@patriknw
Copy link
Copy Markdown
Contributor

Sorry to complain about such unimportant things as the commit message

feat!(scalasdk): WIP (#398)

It's not a breaking change, so it shouldn't have !.

The title should be more descriptive, such as

feat(scalasdk): First parts of public API for scalasdk, #381

Not a big deal at all, but let's improve.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants