create_dir_skip(agooErr err) {
    gqlDir	dir = gql_directive_create(err, "skip", NULL, 0);
    gqlType	boolean_nn;

    if (NULL == dir) {
	return err->code;
    }
    dir->core = true;
    if (NULL == (boolean_nn = gql_assure_nonnull(err, &gql_bool_type)) ||

	AGOO_ERR_OK != gql_directive_on(err, dir, "FIELD", -1) ||
	AGOO_ERR_OK != gql_directive_on(err, dir, "FRAGMENT_SPREAD", -1) ||
	AGOO_ERR_OK != gql_directive_on(err, dir, "INLINE_FRAGMENT", -1) ||
	NULL == gql_dir_arg(err, dir, "if", boolean_nn, NULL, -1, NULL)) {

	return err->code;
    }
    return AGOO_ERR_OK;
}
create_dir_skip(agooErr err) {
    gqlDir	dir = gql_directive_create(err, "skip", NULL, 0);
    gqlType	boolean_nn;

    if (NULL == dir) {
	return err->code;
    }
    dir->core = true;
    if (NULL == (boolean_nn = gql_assure_nonnull(err, &gql_bool_type)) ||

	AGOO_ERR_OK != gql_directive_on(err, dir, "FIELD", -1) ||
	AGOO_ERR_OK != gql_directive_on(err, dir, "FRAGMENT_SPREAD", -1) ||
	AGOO_ERR_OK != gql_directive_on(err, dir, "INLINE_FRAGMENT", -1) ||
	NULL == gql_dir_arg(err, dir, "if", boolean_nn, NULL, -1, NULL)) {

	return err->code;
    }
    return AGOO_ERR_OK;
}