rawmodeljs - Strongly-typed JavaScript object with support for validation and error handling.

  •        30

Strongly-typed JavaScript object with support for validation and error handling. This is a light weight open source package for the server and browser (using module bundler) written with TypeScript. It"s actively maintained, well tested and already used in production environments. The source code is available on GitHub where you can also find our issue tracker.

https://github.com/xpepermint/rawmodeljs#readme
https://github.com/xpepermint/rawmodeljs

Dependencies:

@types/lodash.isequal : ^4.5.2
@types/lodash.merge : ^4.6.3
@types/node : ^8.0.54
handleable : ^0.25.0
lodash.isequal : ^4.5.0
lodash.merge : ^4.6.0
typeable : ^2.4.0
validatable : ^0.34.0

Tags
Implementation
License
Platform

   




Related Projects

superstruct - A simple and composable way to validate data in Javascript.

  •    Javascript

A simple and composable way to validate data in JavaScript. Superstruct makes it easy to define interfaces and then validate JavaScript data against them. Its type annotation API was inspired by Typescript, Flow, Go, and GraphQL, giving it a familiar and easy to understand API.

apollo-resolvers - Expressive and composable resolvers for Apollostack's GraphQL server

  •    Javascript

When standing up a GraphQL backend, one of the first design decisions you will undoubtedly need to make is how you will handle authentication, authorization, and errors. GraphQL resolvers present an entirely new paradigm that existing patterns for RESTful APIs fail to adequately address. Many developers end up writing duplicitous authorization checks in a vast majority of their resolver functions, as well as error handling logic to shield the client from encountering exposed internal errors. The goal of apollo-resolvers is to simplify the developer experience in working with GraphQL by abstracting away many of these decisions into a nice, expressive design pattern. apollo-resolvers provides a pattern for creating resolvers that work, essentially, like reactive middleware. By creating a chain of resolvers to satisfy individual parts of the overall problem, you are able to compose elegant streams that take a GraphQL request and bind it to a model method or some other form of business logic with authorization checks and error handling baked right in.

Coolstorage - ORM library for .NET

  •    CSharp

The main strength of Vici CoolStorage is the ease of use. Most ORM tools still require a lot of unneeded code to accomplish basic data persistence tasks, but Vici CoolStorage is designed to relieve the programmer from these tedious and error-prone tasks, making it very intuitive to use.

type-graphql - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

  •    TypeScript

We all know that GraphQL is so great and solves many problems that we have with REST API, like overfetching and underfetching. But developing a GraphQL API in Node.js with TypeScript is sometimes a bit of pain. Why? Let's take a look at the steps we usually have to make. The biggest problem is the redundancy in our codebase, which makes it difficult to keep things in sync. To add a new field to our entity, we have to jump through all the files - modify an entity class, the schema, as well as the interface. The same goes with inputs or arguments. It's easy to forget to update one piece or make a mistake with a single type. Also, what if we've made a typo in field name? The rename feature (F2) won't work correctly.

mongoose-unique-validator - mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema

  •    Javascript

mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema. This makes error handling much easier, since you will get a Mongoose validation error when you attempt to violate a unique constraint, rather than an E11000 error from MongoDB.


XML Editor/Validator/Designer with CAMV

  •    Java

CAM XML Editor & CAMV tool with SQL + XML Open-XDX sponsored by Oracle

meteor-astronomy - Model layer for Meteor

  •    Javascript

The Astronomy package introduces the Model Layer into Meteor applications. It can also be named the Object Document Mapping system (ODM) or for people coming from relational database environments the Object-Relational Mapping system (ORM). Astronomy extends MongoDB documents with functionalities defined in a schema. Astronomy documentation can be found here.

validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

  •    Go

Package validator implements value validations for structs and individual fields based on tags.Use go get.

graphql-net - Convert GraphQL to IQueryable

  •    CSharp

Many of the .NET GraphQL implementations that have come out so far only seem to work in memory. For me, this isn't terribly useful since most of my data is stored in a database (and I assume that's the case for many others). This library is an implementation of the GraphQL spec that converts GraphQL queries to IQueryable. That IQueryable can then be executed using the ORM of your choice. The default schema is required to use the helper methodGraphQL<TContext>.Execute(query), but you can execute queries against the schema without it. Next, we'll define a type in the schema and fields on that type.

ethql - A GraphQL interface to Ethereum :fire:

  •    TypeScript

Example queries. EthQL is a server that exposes a GraphQL endpoint to the public Ethereum ledger. It works against the standard JSON-RPC APIs offered by all Ethereum clients. It is built in TypeScript, and thus leverages the vast ecosystem of GraphQL tooling while preserving compile-time type safety.

apollo-tooling - :pencil2: Tooling for development and production Apollo workflows

  •    TypeScript

Apollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety. Generate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.

swift-validated - 🛂 A result type that accumulates multiple errors.

  •    Swift

A result type that accumulates multiple errors. Swift error handling short-circuits on the first failure. Because of this, it's not the greatest option for handling things like form data, where multiple inputs may result in multiple errors.

reindex-api - GraphQL backend as a service

  •    Javascript

Note: This project is no longer maintained. The source code is released under the license specified in file LICENSE. reindex-api is a multi-tenant, hosted GraphQL database solution. reindex-api converts a JSON based schema into a GraphQL API in addition to creating a database storage (MongoDB or RethinkDB) underneath. GraphQL API is fully Relay compatible and contains CRUD operations as entry points. Input is Relay-aware and declarative. Additionally, reindex-api provides Social Login with 5 providers (Auth0, Facebook, Google, Twitter and Github). Functionality of reindex-api can be extended by configuring hooks that call external web services. It also provides a rich permission system based on defining graph paths to the user type.

apollo-cli - :pencil2: Command line tool for development and production Apollo workflows

  •    TypeScript

Apollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety. Checks your GraphQL operations for compatibility with the server. Checks against the published schema in Apollo Engine.

knockout-validator

  •    

knockout-validator is an extensible model validation system for knockout framework, that besides normal validations it handles well nested validations and array validations. Validation is performed on the view model. The UI can selectively register to display validation result...

validating - Automatically validating Eloquent models for Laravel

  •    PHP

Validating is a trait for Laravel Eloquent models which ensures that models meet their validation criteria before being saved. If they are not considered valid the model will not be saved and the validation errors will be made available. Validating allows for multiple rulesets, injecting the model ID into unique validation rules and raising exceptions on failed validations. It's small and flexible to fit right into your workflow and help you save valid data only.

Mongoose - Elegant MongoDB object modeling for Node.js

  •    Javascript

MongoDB object modeling designed to work in an asynchronous environment. It provides a straight-forward, schema-based solution to modeling your application data and includes built-in type casting, validation, query building, business logic hooks and more, out of the box.

errors - Simple error handling primitives

  •    Go

Package errors provides simple error handling primitives.which applied recursively up the call stack results in error reports without context or debugging information. The errors package allows programmers to add context to the failure path in their code in a way that does not destroy the original value of the error.

apollo-android - :pager: A strongly-typed, caching GraphQL client for Android, written in Java

  •    Java

Apollo-Android is a GraphQL compliant client that generates Java models from standard GraphQL queries. These models give you a typesafe API to work with GraphQL servers. Apollo will help you keep your GraphQL query statements together, organized, and easy to access from Java. Change a query and recompile your project - Apollo code gen will rebuild your data model. Code generation also allows Apollo to read and unmarshal responses from the network without the need of any reflection (see example generated code below). Future versions of Apollo-Android will also work with AutoValue and other value object generators.

camo - A class-based ES6 ODM for Mongo-like databases.

  •    Javascript

Short answer, we probably don't. Camo was created for two reasons: to bring traditional-style classes to MongoDB JavaScript, and to support NeDB as a backend (which is much like the SQLite-alternative to Mongo). Throughout development this eventually turned in to a library full of ES6 features. Coming from a Java background, its easier for me to design and write code in terms of classes, and I suspect this is true for many JavaScript beginners. While ES6 classes don't bring any new functionality to the language, they certainly do make it much easier to jump in to OOP with JavaScript, which is reason enough to warrent a new library, IMO.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.