server: Add graphql support for creating/deleting attributes
This commit is contained in:
committed by
nitnelave
parent
2a5fd01439
commit
439fde434b
@@ -235,6 +235,7 @@ pub trait BackendHandler:
|
||||
+ UserListerBackendHandler
|
||||
+ GroupListerBackendHandler
|
||||
+ ReadSchemaBackendHandler
|
||||
+ SchemaBackendHandler
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -342,7 +342,17 @@ impl From<&GroupId> for Value {
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, EnumString, IntoStaticStr,
|
||||
Debug,
|
||||
Copy,
|
||||
Clone,
|
||||
PartialEq,
|
||||
Eq,
|
||||
Hash,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
EnumString,
|
||||
IntoStaticStr,
|
||||
juniper::GraphQLEnum,
|
||||
)]
|
||||
pub enum AttributeType {
|
||||
String,
|
||||
|
||||
Reference in New Issue
Block a user