Skip to content

Commit

Permalink
Cedar cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dnys1 committed Mar 8, 2024
1 parent 20fcbdb commit 9dda3fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/cedar_common/lib/src/policy/cedar_policy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'package:built_value/built_value.dart';
import 'package:built_value/json_object.dart';
import 'package:built_value/serializer.dart';
import 'package:cedar_common/cedar_common.dart';
import 'package:cedar_common/src/serializers.dart';

part 'cedar_policy.g.dart';

Expand Down Expand Up @@ -84,7 +83,7 @@ abstract class CedarPolicy implements Built<CedarPolicy, CedarPolicyBuilder> {
required CedarPolicyPrincipal principal,
required CedarPolicyAction action,
required CedarPolicyResource resource,
required List<CedarPolicyCondition> conditions,
List<CedarPolicyCondition> conditions = const [],
Map<String, String>? annotations,
}) {
return _$CedarPolicy._(
Expand Down
2 changes: 1 addition & 1 deletion packages/cedar_common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
built_collection: ^5.1.1
built_value: ^8.9.1
collection: ^1.18.0
meta: ^1.12.0
meta: ^1.11.0

dev_dependencies:
build_runner: ^2.4.8
Expand Down

0 comments on commit 9dda3fc

Please sign in to comment.