{"action":"created","issue":{"url":"https://api.github.com/repos/jquense/yup/issues/302","repository_url":"https://api.github.com/repos/jquense/yup","labels_url":"https://api.github.com/repos/jquense/yup/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/jquense/yup/issues/302/comments","events_url":"https://api.github.com/repos/jquense/yup/issues/302/events","html_url":"https://github.com/jquense/yup/issues/302","id":354344462,"node_id":"MDU6SXNzdWUzNTQzNDQ0NjI=","number":302,"title":"Multiple schema of different type ","user":{"login":"ceilat","id":33392772,"node_id":"MDQ6VXNlcjMzMzkyNzcy","avatar_url":"https://avatars2.githubusercontent.com/u/33392772?v=4","gravatar_id":"","url":"https://api.github.com/users/ceilat","html_url":"https://github.com/ceilat","followers_url":"https://api.github.com/users/ceilat/followers","following_url":"https://api.github.com/users/ceilat/following{/other_user}","gists_url":"https://api.github.com/users/ceilat/gists{/gist_id}","starred_url":"https://api.github.com/users/ceilat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceilat/subscriptions","organizations_url":"https://api.github.com/users/ceilat/orgs","repos_url":"https://api.github.com/users/ceilat/repos","events_url":"https://api.github.com/users/ceilat/events{/privacy}","received_events_url":"https://api.github.com/users/ceilat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T14:32:45Z","updated_at":"2018-08-27T15:03:41Z","closed_at":null,"author_association":"NONE","body":"Hi Everyone,\r\n\r\nI have an issue when i need to validate _String_ input but also checking that it's not already exist.\r\n\r\nSo let's say for example i have a input called `name` and i need to validate that it's `maxLength=10` but also that it's not one of those: `[_array-of-names_]`.\r\n\r\nI saw that i need to use two different schemas: `.string` and `.mixed`.\r\n\r\nCan i combine between them?\r\nI saw that `concat ` is only for the same type of schema.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jquense/yup/issues/comments/416257285","html_url":"https://github.com/jquense/yup/issues/302#issuecomment-416257285","issue_url":"https://api.github.com/repos/jquense/yup/issues/302","id":416257285,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjI1NzI4NQ==","user":{"login":"jquense","id":339286,"node_id":"MDQ6VXNlcjMzOTI4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/339286?v=4","gravatar_id":"","url":"https://api.github.com/users/jquense","html_url":"https://github.com/jquense","followers_url":"https://api.github.com/users/jquense/followers","following_url":"https://api.github.com/users/jquense/following{/other_user}","gists_url":"https://api.github.com/users/jquense/gists{/gist_id}","starred_url":"https://api.github.com/users/jquense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquense/subscriptions","organizations_url":"https://api.github.com/users/jquense/orgs","repos_url":"https://api.github.com/users/jquense/repos","events_url":"https://api.github.com/users/jquense/events{/privacy}","received_events_url":"https://api.github.com/users/jquense/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T15:03:41Z","updated_at":"2018-08-27T15:03:41Z","author_association":"OWNER","body":"`mixed` is the base schema for all of them, so any schema inherits all the methods from `mixed` as well as any additional ones. "}}
{"actor":{"display_login":"jquense"}}