All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xlrit.gears.server.graphql.ReportResolver Maven / Gradle / Ivy

The newest version!
package com.xlrit.gears.server.graphql;

import java.util.Collections;
import java.util.List;

import com.xlrit.gears.base.model.Report;

import lombok.RequiredArgsConstructor;
import org.springframework.graphql.data.method.annotation.QueryMapping;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;

@Controller
@RequiredArgsConstructor
public class ReportResolver {

	@PreAuthorize("isAuthenticated()")
	@QueryMapping
	public List reports() {
		return Collections.emptyList();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy