playq / d4s Goto Github PK
View Code? Open in Web Editor NEWDynamo DB Database Done Scala-way
License: Apache License 2.0
Dynamo DB Database Done Scala-way
License: Apache License 2.0
DynamoDB supports contains (SET, ELEM)
& size(X)
functions that are currently missing in Condition DSL
We removed circe dependency in metrics module, but it very convenient to have a possibility to pass metrics over HTTP. We could provide circe codecs for MetricsDef in circle module.
Also, we need to show how to set up a project without DI in case someone is allergic to that technic or just don't want to bring it to their project.
It looks kinda noisy
We've already made an attempt to do this.
here is the code:
The problem is we constantly encounter the following issue:
super constructor cannot be passed a self-reference unless parameter is declared by-name
object Table1Key extends WithD4S[Table1Key]
implicit def optionEncoder[T: D4SAttributeEncoder]: D4SAttributeEncoder[Option[T]] = {
item: Option[T] =>
item.map(encode[T]).getOrElse(AttributeValue.builder().nul(true).build())
}
when we need to
implicit def optionEncoder[T: D4SAttributeEncoder]: D4SAttributeEncoder[Option[T]] = {
item: Option[T] =>
item.map(encode[T]) // expects Optional attribute to not write unnecessary parts
}
Decoder already supports optional attributes.
Hi,
This project use the GitHub action rlespinasse/github-slug-action on the master branch.
Due to changes into the branches management, the master
branch is not longer supported and will be removed in few months (EOL: 2020-10-25).
The current latest version is 2.0.0
from the v2.x branch.
- uses: rlespinasse/[email protected]
- uses: rlespinasse/[email protected]
If you want to avoid breaking changes, you can use the 1.1.0
version or the v1.1.x branch.
- uses: rlespinasse/[email protected]
- uses: rlespinasse/[email protected]
DynamoEnv should inherit DistageAbstractScalatestSpec
and provider its own TestConfig
given a case class X(option: Option[Int])
, derived D4SDecoder
will not decode an empty object {}
as X(None)
- however a circe-based decoder would. Need to address that.
/cc @vpodlnk
final class Raw(recipients: Option[List[UUID]])
???
"recipients".of[UUID].contains(user.user)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.