sbonami / milliejs Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Queries are limited to simple equality checks for attributes, however, a more expansive feature set is necessary for even the most elementary use cases.
And check for leaks in production application
To support other consistency models, like: strong consistency, weak consistency, read committed, read uncommitted, snapshot isolation, and linearizeability. This would support client needs that are specific to a particular resource or integration.
This will make MillieJS more attractive for integrators that have varying requirements.
No response
The adapter to the different consistency models would have to live in core, but thereβs no reason why the consistency models themselves could not be plug-and-play packages provided by the community.
Re-add the Windows and Mac runners to the integration test runs once Github supports services: actions/runner#904
Proving multi-platform support is a great sales-pitch
No response
N/A
Not all source data is useful for every consumer, so it would be beneficial to allow the client to limit which source subscription data syncs into the replica store.
From the perspective of a replica store, Millie would benefit from being able to scale horizontally. This would enable Millie to fan out upstream events for replication or processing. Another use-case where this would be helpful is in a distributed rules-engine.
Look into Apache Zookeeper, consul, Netflix Eureka, etc
The MillieJS class does a ton of delegation to the IncrementalStore, and the IncrementalStore likewise to the various CRUD actions. Instead, some meta-programming would be a boon to maintenance.
The type predicates are at present only checking for undefined properties, but they could be more specific. Additional checks within the predicate would include: type validation, enum validation, and nesting (Resource within Query).
Additionally, the MillieJS library should perform an invariant check of user inputs, and IncrementalStore should perform invariant checks of store inputs.
To ensure the application is operating accurately and to provide specific feedback in moments where provided data is incorrect.
No response
The only way to achieve this is to add it to the core
Replace the "any" type for the PATCH payload with something more form-fit. Perhaps the JSON Patch https://datatracker.ietf.org/doc/html/rfc6902?
Introduce concurrency between the CRUD action to the replica store and the upstream source
sequenceDiagram
Client->>Millie: create Entity (from request)
par In parallel
critical Attempt to update Replica with requested payload
Millie->>Replica: create Entity (from request)
option Succeeded
Replica-->>Client: new Entity (from request)
option Failed
rect rgb(255, 0, 0)
Note over Replica,Client: TBD
Replica-->>Client: Replica Error
end
end
and
critical Attempt to update Source with requested payload
Millie->>Source: create Entity (from request)
option Succeeded
Source->>Millie:
par In parallel
Millie-->>Client: new Entity (from source)
and
critical Attempt to update Replica with Source's payload
Millie->>Replica: new Entity (from source)
option Succeeded
Millie-->>Client: new Entity (from source)
option Failed
rect rgb(255, 0, 0)
Note over Millie,Client: TBD
Millie-->>Client: Replica Error
end
end
end
option Failed
rect rgb(255, 0, 0)
Note over Source,Client: TBD
Source-->>Client: Source Error
end
end
end
latest
yarn install --immutable --immutable-cache --check-cache
)Successful check and/or better handling of optional dependencies that differ per OS
An error is thrown for one or more of the optional dependencies that were just cached for MacOS
All except MacOS
Types for events and listeners
Using the yarn constraints, plug-in check the repo is compliant during the continuous integration checks
To keep the repo in compliance with standards and best practices
No response
Uh, because π
https://github.com/github/.github/blob/main/CONTRIBUTING.md
Also mention in README
Plus:
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.