@(at) sign in import statemenq

已查看 22 次
跳至第一个未读帖子

David Sokhakyan

未读,
2023年1月18日 05:48:382023/1/18
收件人 Protocol Buffers
Hi All, Is there posabiliy to use @ sign in  import statement in proto file definition?
language is js, it just converts @ -> @ which is not allowed in js, 
example
 ...
import "test/@test/test.proto";
thanks

Marc Gravell

未读,
2023年1月18日 08:12:562023/1/18
收件人 David Sokhakyan、Protocol Buffers
Probably a silly question but: did you try it and did it work? Note that the language here is probably not relevant, since this is primarily a file path - I guess reliable OS file system limitations is the biggest concern.

David Sokhakyan
Senior Software Engineer
www.questrade.com
QuestGlobal Armenia LLC
105/1 Teryan Street, Yerevan, Armenia, 009

​QuestGlobal Armenia LLC is an affiliated company of the Questrade Group of Companies.

​Questrade® is a registered trademark licensed to Questrade Financial Group Inc.


--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/b71a1aff-6056-429b-b7f2-bbfdbc634a6en%40googlegroups.com.

David Sokhakyan

未读,
2023年1月18日 09:01:462023/1/18
收件人 Protocol Buffers
I try but it didnt work :) 
compilation phase is working but compiled source gives error

var test_@test_pb = require(' test/@test/test_pb.js');
goog.object.extend(proto,  test_@test_pb  );

So  var test_@test_pb  is illegal in javascript
回复全部
回复作者
转发
0 个新帖子