code: def validate_property_directives(directives):
      
      for directive_name in six.iterkeys(directives):
          if directive_name in VERTEX_ONLY_DIRECTIVES:
              raise GraphQLCompilationError(
                  u'Found vertex-only directive {} set on property.'.format(directive_name))
docs: Validate the directives that appear at a property field.