github.com/blend/go-sdk@v1.20240719.1/selector/option.go (about) 1 /* 2 3 Copyright (c) 2024 - Present. Blend Labs, Inc. All rights reserved 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file. 5 6 */ 7 8 package selector 9 10 // Option is a tweak to selector parsing. 11 type Option func(p *Parser) 12 13 // SkipValidation is an option to skip checking the values of selector expressions. 14 func SkipValidation(p *Parser) { 15 p.skipValidation = true 16 }