Skip to content
#

schema-validation

Here are 66 public repositories matching this topic...

MR-Mostafa
MR-Mostafa commented Apr 4, 2020

Hi,
How can we use this package in the validate method of mongoosejs? (like validator.js or @hapi/joi)

const mongoose = require('mongoose');
const validator = require('validator');

const userSchema = new mongoose.Schema({
  name: {
    type: String,
    required: [true, 'A tour must have a name'],
     validate: [validator.isAlpha, 'name must only contain characters']
  },
  p
vemonet
vemonet commented Jan 9, 2020

Expected Behavior

Using RDFUnit in a Kubernetes environment

Actual Behavior

When running bin/rdfunit from inside a Docker container running in a Kubernetes pod we are facing the following issue:

[ERROR] No plugin found for prefix 'exec' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/ro
felixbr
felixbr commented Apr 24, 2020

While the documentation in the readme is generally good, the plugin now supports multiple independent features, so it's harder to understand the big picture. Recent issues (#83, #84, #85) are all at least in part about misunderstanding/confusing the plugin features.

Imo it would be nice to have examples for common use-cases like:

  • I want to connect to an existing GraphQL-api and want to gen
kibertoad
kibertoad commented Sep 28, 2018

Judging by documentation, it is currently only possible to use the validator application-wide, immediately affecting all of the endpoints. It would be helpful to be able to attach middleware to specific endpoints with predefined swagger path already filled during instantiation.

This is useful for two scenarios:

  1. Google Cloud Functions: while they seem to use Express under the hood and in gen

Improve this page

Add a description, image, and links to the schema-validation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the schema-validation topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.