pflima92 / google-cloud-datastore-inversify Goto Github PK
View Code? Open in Web Editor NEWSome utilities for the development of Google Cloud Datastore with InversifyJS
License: MIT License
Some utilities for the development of Google Cloud Datastore with InversifyJS
License: MIT License
Support to transparently keep track of who created or changed an entity and the point in time this happened.
The intent is to decorate an entity properties, providing simple decorators such as @createdBy
, @createdDate
, @lastModifiedBy
and @lastModifiedDate
.
It might be necessary create an additional interface to allow specify the strategy to identify the modifier, it might require additional plugins for different providers, such as express
, restify
, koa
, etc...
There is no pagination support currently.
An operation should return either a wrapped result or a different interface handling it.
Add support for better relationships mapping:
There are three ways to represent relationships between entities that's desired:
Embedded entities stored directly in the field of the containing entity (supported natively)
@Descendant decorated properties for one-to-many relationships (enhancement)
@reference decorated properties for general relationships without hierarchy (enhancement)
Check the Road Map & Enhancments for better reference.
When transporting an entity with extra fields these extra undeclared fields has been saved even when not declared.
Save only declared fields.
Give a class:
@entity(User)
class User{
@id()
id: string
username: string
}
And sending:
{
"id" : "123",
"username" : "foo",
"some_extra_field" : "some_extra_value"
}
The above entity is entirely saved on Datastore.
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.