issues
search
tc39
/
proposal-first-class-protocols
a proposal to bring protocol-based interfaces to ECMAScript users
352
stars
9
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Implement protocols as functions rather than methods
#46
mlanza
opened
1 year ago
0
Protocols should double as first-class functions
#45
mlanza
opened
1 year ago
4
Is this proposal still alive?
#44
mlanza
closed
1 year ago
12
Implement protocols on null
#43
mlanza
opened
1 year ago
24
Won't class implememts protocol more type friendly and easy to init?
#42
LongTengDao
closed
2 years ago
1
Simplifying syntax and implementation
#41
rodinhart
opened
2 years ago
1
Don't invisibly add properties to a class!
#40
theScottyJam
closed
3 years ago
7
Allow restricting who can implement a particular protocol
#39
theScottyJam
opened
3 years ago
1
Why not use object
#38
2A5F
opened
3 years ago
0
Implementation selection
#37
TitanNano
opened
3 years ago
4
Move to tc39 repo?
#36
hax
opened
4 years ago
2
Initializing protocol fields
#35
benash
opened
5 years ago
1
Traits based approach
#34
iddan
opened
6 years ago
0
Relationship with the mixins proposal
#33
littledan
opened
6 years ago
10
Globally-enforced coherence
#32
zkat
closed
1 year ago
5
Why the label "protocol" and not "interface"?
#31
hagb4rd
closed
6 years ago
1
Optional fields
#30
Jamesernator
opened
7 years ago
1
Mixin issues
#29
raulsebastianmihaila
opened
7 years ago
9
Why not using the interface keyword
#28
iddan
closed
7 years ago
2
`class`-less protocol implementation
#27
azz
closed
7 years ago
9
Questions and concerns
#26
hatashiro
opened
7 years ago
1
Suggestion: Avoid direct prototype substitution
#25
brn
closed
7 years ago
5
consistently use "require"/"provide" terminology
#24
michaelficarra
closed
7 years ago
0
Inheritance of symbols from parent to child
#23
jamiebuilds
opened
7 years ago
7
Iterable protocol
#22
jamiebuilds
closed
7 years ago
5
Multi implements keyword is confused.
#21
brn
closed
7 years ago
1
Protocol overriding order
#20
HerringtonDarkholme
closed
7 years ago
13
allow required strings in addition to required symbols
#19
michaelficarra
closed
7 years ago
7
Different syntax for required key?
#18
rauschma
closed
7 years ago
3
More examples and motivations
#17
samuelgoto
opened
7 years ago
3
Problem statement, precedence, alternatives considered and polyfill/transpillation patterns?
#16
samuelgoto
closed
7 years ago
1
Symbol usage forces exposure of "implementation details"
#15
domenic
closed
7 years ago
4
Just methods, or also accessors allowed?
#14
domenic
closed
7 years ago
1
Add constructor pseudo-method
#13
dead-claudia
opened
7 years ago
4
Cross Realm Interfaces
#12
bmeck
opened
7 years ago
8
Why
#11
freddi301
closed
7 years ago
5
Can protocols override methods or define constructors?
#10
justinfagnani
closed
7 years ago
1
Use of Reflect is inappropriate
#9
domenic
closed
7 years ago
6
Reflect.implement should throw if its first argument is not constructible
#8
bakkot
closed
7 years ago
4
Is `export interface` needed?
#7
bmeck
closed
7 years ago
4
Extending builtin collisions still exist
#6
bmeck
closed
7 years ago
7
Make `implements` a binary operator when in expression position
#5
gabejohnson
closed
7 years ago
2
enforce constraints on implemented functions; start by at least checking their signatures
#4
gabejohnson
opened
7 years ago
6
rename proposal; use syntax that doesn't conflict with TypeScript
#3
michaelficarra
closed
7 years ago
23
fix typo
#2
chicoxyzzy
closed
7 years ago
0
fancier syntax
#1
michaelficarra
closed
8 years ago
0