{"action":"created","issue":{"url":"https://api.github.com/repos/heetch/confita/issues/35","repository_url":"https://api.github.com/repos/heetch/confita","labels_url":"https://api.github.com/repos/heetch/confita/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/heetch/confita/issues/35/comments","events_url":"https://api.github.com/repos/heetch/confita/issues/35/events","html_url":"https://github.com/heetch/confita/issues/35","id":351222267,"node_id":"MDU6SXNzdWUzNTEyMjIyNjc=","number":35,"title":"required tag not being honoured","user":{"login":"shaumux","id":2377817,"node_id":"MDQ6VXNlcjIzNzc4MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2377817?v=4","gravatar_id":"","url":"https://api.github.com/users/shaumux","html_url":"https://github.com/shaumux","followers_url":"https://api.github.com/users/shaumux/followers","following_url":"https://api.github.com/users/shaumux/following{/other_user}","gists_url":"https://api.github.com/users/shaumux/gists{/gist_id}","starred_url":"https://api.github.com/users/shaumux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaumux/subscriptions","organizations_url":"https://api.github.com/users/shaumux/orgs","repos_url":"https://api.github.com/users/shaumux/repos","events_url":"https://api.github.com/users/shaumux/events{/privacy}","received_events_url":"https://api.github.com/users/shaumux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-16T14:09:14Z","updated_at":"2018-10-12T14:21:33Z","closed_at":null,"author_association":"NONE","body":"I created a config struct like this\r\n```\r\ntype rabbitMQ struct {\r\n\tUSER     string `config:\"user,required\"`\r\n\tPASSWORD string `config:\"password,required\"`\r\n\tHOST     string `config:\"host\"`\r\n\tPORT     string `config:\"port\"`\r\n}\r\n\r\ntype dbConfig struct {\r\n\tDIALECT  string `config:\"dialect,required\"`\r\n\tNAME     string `config:\"name,required\"`\r\n\tUSER     string `config:\"user,required\"`\r\n\tPASSWORD string `config:\"password,required\"`\r\n\tHOST     string `config:\"host\"`\r\n\tPORT     string `config:\"port\"`\r\n}\r\n\r\ntype Config struct {\r\n\tDATABASES   map[string]dbConfig `config:\"databases,required\"`\r\n\tRABBITMQ    rabbitMQ            `config:\"rabbitmq,required\"`\r\n\tENVIRONMENT string              `config:\"environment\"`\r\n}\r\n```\r\nconfita seems to be ignoring the required tag for all but the password field in the rabbitMQ config\r\nThe file I'm reading from is a yaml file"},"comment":{"url":"https://api.github.com/repos/heetch/confita/issues/comments/429342723","html_url":"https://github.com/heetch/confita/issues/35#issuecomment-429342723","issue_url":"https://api.github.com/repos/heetch/confita/issues/35","id":429342723,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTM0MjcyMw==","user":{"login":"shaumux","id":2377817,"node_id":"MDQ6VXNlcjIzNzc4MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2377817?v=4","gravatar_id":"","url":"https://api.github.com/users/shaumux","html_url":"https://github.com/shaumux","followers_url":"https://api.github.com/users/shaumux/followers","following_url":"https://api.github.com/users/shaumux/following{/other_user}","gists_url":"https://api.github.com/users/shaumux/gists{/gist_id}","starred_url":"https://api.github.com/users/shaumux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaumux/subscriptions","organizations_url":"https://api.github.com/users/shaumux/orgs","repos_url":"https://api.github.com/users/shaumux/repos","events_url":"https://api.github.com/users/shaumux/events{/privacy}","received_events_url":"https://api.github.com/users/shaumux/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T14:21:33Z","updated_at":"2018-10-12T14:21:33Z","author_association":"NONE","body":"The issue I'm having is not with the Database config but rather RabbitMQ config."}}
{"actor":{"display_login":"shaumux"}}